Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not resolve :kotlin-native-prebuilt-linux-x86_64:1.8.10. #378

Closed
yuvaraj119 opened this issue Aug 23, 2023 · 2 comments
Closed

Could not resolve :kotlin-native-prebuilt-linux-x86_64:1.8.10. #378

yuvaraj119 opened this issue Aug 23, 2023 · 2 comments

Comments

@yuvaraj119
Copy link

yuvaraj119 commented Aug 23, 2023

After the success from setup-kotlin action when i run ./gradlew build or assemble for KMP project its fails to find kotlin-native.
And then gradle start downloading it again which also fails.

Could not resolve :kotlin-native-prebuilt-linux-x86_64:1.8.10.
Required by:
project :kmp
> Could not resolve :kotlin-native-prebuilt-linux-x86_64:1.8.10.
> Could not get resource 'https://download.jetbrains.com/kotlin/native/builds/releases/1.8.10/linux-x86_64/kotlin-native-prebuilt-linux-x86_64-1.8.10.tar.gz'.
> Could not HEAD 'https://download.jetbrains.com/kotlin/native/builds/releases/1.8.10/linux-x86_64/kotlin-native-prebuilt-linux-x86_64-1.8.10.tar.gz'.
> download.jetbrains.com

@fwilhe2
Copy link
Owner

fwilhe2 commented Aug 23, 2023

Hi @yuvaraj119

I don't think your issue is related to this action. I don't know how your gradle project is set up, but if you are using gradle you probably don't need this action, see this issue for more info #174

I'm not that familiar with gradle and kotlin native, but I assume your gradle build should set it up and fails to properly build the url or download the file.

I've tried the 'download native' feature with the latest kotlin version and it works fine, cf https://github.com/fwilhe2/improved-enigma/actions/runs/5955919559/job/16155595229

Closing this issue as this is not related to this project.

Best,
Florian

@fwilhe2 fwilhe2 closed this as completed Aug 23, 2023
@yuvaraj119
Copy link
Author

@fwilhe2 - I think you are correct it is downloading but not saving in the right directory like for gradle will save the kotlin-native in users/runner/.konan/ path which is not happening with this setup-kotlin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants