Skip to content

Commit

Permalink
Merge pull request #2219 from mkmuir0/mkmuir1.0.28-release
Browse files Browse the repository at this point in the history
Fix changes in Kotlin Gradle Plugin
  • Loading branch information
mkmuir0 authored Nov 19, 2024
2 parents e89133e + 5c08b39 commit 145cda8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -166,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 Down
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,6 @@ class KspGradleSubplugin @Inject internal constructor(private val registry: Tool
}

fun configureLanguageVersion(kspTask: KotlinCompilationTask<*>) {
kspTask.compilerOptions.useK2.value(false)
val languageVersion = kotlinCompilation.compilerOptions.options.languageVersion
val progressiveMode = kotlinCompilation.compilerOptions.options.progressiveMode
kspTask.compilerOptions.languageVersion.value(
Expand Down

0 comments on commit 145cda8

Please sign in to comment.