diff --git a/gradle-plugin/src/main/kotlin/com/google/devtools/ksp/gradle/KotlinFactories.kt b/gradle-plugin/src/main/kotlin/com/google/devtools/ksp/gradle/KotlinFactories.kt index c2f02a8374..36ed53b8b5 100644 --- a/gradle-plugin/src/main/kotlin/com/google/devtools/ksp/gradle/KotlinFactories.kt +++ b/gradle-plugin/src/main/kotlin/com/google/devtools/ksp/gradle/KotlinFactories.kt @@ -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. diff --git a/gradle-plugin/src/main/kotlin/com/google/devtools/ksp/gradle/KspSubplugin.kt b/gradle-plugin/src/main/kotlin/com/google/devtools/ksp/gradle/KspSubplugin.kt index ebdfbe389f..4a0220cf46 100644 --- a/gradle-plugin/src/main/kotlin/com/google/devtools/ksp/gradle/KspSubplugin.kt +++ b/gradle-plugin/src/main/kotlin/com/google/devtools/ksp/gradle/KspSubplugin.kt @@ -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(