We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f82a0b4 commit fd792afCopy full SHA for fd792af
gradle-plugin/src/main/kotlin/com/google/devtools/ksp/gradle/KspSubplugin.kt
@@ -132,7 +132,7 @@ class KspGradleSubplugin @Inject internal constructor(private val registry: Tool
132
val useKsp2 = project.extensions.getByType(KspExtension::class.java).useKsp2.get()
133
134
if (useKsp2.not()) {
135
- project.logger.error(
+ throw RuntimeException(
136
"KSP1 is no longer available. Please use KSP2 instead and do not explicitly set ksp.useKsp2 to false " +
137
"via the DSL or the Gradle property please"
138
)
0 commit comments