We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f9c6f23 commit ee69f73Copy full SHA for ee69f73
1 file changed
common/build.gradle.kts
@@ -384,9 +384,9 @@ kotlin {
384
// https://github.com/google/ksp/issues/567
385
val compileKotlinRegex = "^compile.*Kotlin.*".toRegex()
386
val kspKotlinRegex = "^ksp.*Kotlin.*".toRegex()
387
-tasks.withType<org.jetbrains.kotlin.gradle.dsl.KotlinCompile<*>>().configureEach {
+tasks.configureEach {
388
val kspCommonTaskName = "kspCommonMainKotlinMetadata"
389
- if (kspCommonTaskName != name) {
+ if (kspCommonTaskName == name) {
390
return@configureEach
391
}
392
if (compileKotlinRegex.matches(name) || kspKotlinRegex.matches(name)) {
0 commit comments