Update error message for ksp.useKSP2 property Adds a sentence noting that the property will be removed in the future so users know they shouldn't rely on it.
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 18454f4..196fa26 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
@@ -145,7 +145,8 @@ if (useKsp2.not()) { throw RuntimeException( "KSP1 is no longer available. Please use KSP2 instead and do not explicitly set ksp.useKsp2 to false " + - "via the DSL or the Gradle property please" + "via the DSL or the Gradle property please. " + + "The ksp.useKSP2 property will be removed in the future." ) } return true