Skip to content

Commit

Permalink
UPDATE_KOTLIN_VERSION: 2.1.0-dev-7621
Browse files Browse the repository at this point in the history
  • Loading branch information
ting-yuan committed Oct 9, 2024
1 parent cdc89da commit b11c485
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,9 @@ import org.jetbrains.kotlin.gradle.dsl.KotlinMultiplatformCommonCompilerOptionsH
import org.jetbrains.kotlin.gradle.dsl.KotlinNativeCompilerOptions
import org.jetbrains.kotlin.gradle.dsl.KotlinNativeCompilerOptionsDefault
import org.jetbrains.kotlin.gradle.dsl.KotlinNativeCompilerOptionsHelper
import org.jetbrains.kotlin.gradle.internal.ClassLoadersCachingBuildService
import org.jetbrains.kotlin.gradle.plugin.KotlinCompilation
import org.jetbrains.kotlin.gradle.plugin.KotlinCompilationInfo
import org.jetbrains.kotlin.gradle.plugin.PropertiesProvider.Companion.kotlinPropertiesProvider
import org.jetbrains.kotlin.gradle.plugin.SubpluginOption
import org.jetbrains.kotlin.gradle.targets.native.KonanPropertiesBuildService
import org.jetbrains.kotlin.gradle.tasks.AbstractKotlinCompileTool
import org.jetbrains.kotlin.gradle.tasks.Kotlin2JsCompile
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
Expand Down Expand Up @@ -169,7 +166,7 @@ class KotlinFactories {
from = compilerOptions,
into = kspTask.compilerOptions
)
kspTask.produceUnpackedKlib.set(false)
kspTask.produceUnpackagedKlib.set(false)
kspTask.onlyIf {
// KonanTarget is not properly serializable, hence we should check by name
// see https://youtrack.jetbrains.com/issue/KT-61657.
Expand All @@ -178,15 +175,6 @@ class KotlinFactories {
it.name == konanTargetName
}
}
kspTask.kotlinCompilerArgumentsLogLevel
.value(project.kotlinPropertiesProvider.kotlinCompilerArgumentsLogLevel)
.finalizeValueOnRead()
kspTask.konanPropertiesService
.value(KonanPropertiesBuildService.registerIfAbsent(project))
.disallowChanges()
kspTask.classLoadersCachingService
.value(ClassLoadersCachingBuildService.registerIfAbsent(project))
.disallowChanges()
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copied from kotlinc
org.gradle.jvmargs=-Duser.country=US -Dkotlin.daemon.jvm.options=-Xmx4096m -Dfile.encoding=UTF-8

kotlinBaseVersion=2.1.0-dev-5441
kotlinBaseVersion=2.1.0-dev-7621
agpBaseVersion=8.7.0
intellijVersion=233.13135.103
junitVersion=4.13.1
Expand Down

0 comments on commit b11c485

Please sign in to comment.