Skip to content

Commit

Permalink
[WIP] Make sure KGP downloads older Kotlin/Native.
Browse files Browse the repository at this point in the history
  • Loading branch information
TadeasKriz committed Jul 27, 2024
1 parent 0243a2c commit a8a8b93
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ fun Project.kotlinNativeCompilerHome(kotlinVersion: KotlinToolingVersion): File
extra.set(KotlinNativeDownloaderProperties.main, kotlinVersion.toString())
if (kotlinVersion >= KotlinToolingVersion("1.9.20")) {
extra.set(KotlinNativeDownloaderProperties.downloadFromMaven, "true")
} else {
extra.set(KotlinNativeDownloaderProperties.downloadFromMaven, "false")
}

val downloader = NativeCompilerDownloader(project)
Expand Down

0 comments on commit a8a8b93

Please sign in to comment.