diff --git a/build-setup/src/main/kotlin/co/touchlab/skie/gradle/util/KotlinNativeCompilerHome.kt b/build-setup/src/main/kotlin/co/touchlab/skie/gradle/util/KotlinNativeCompilerHome.kt index d0142316..007b998a 100644 --- a/build-setup/src/main/kotlin/co/touchlab/skie/gradle/util/KotlinNativeCompilerHome.kt +++ b/build-setup/src/main/kotlin/co/touchlab/skie/gradle/util/KotlinNativeCompilerHome.kt @@ -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)