You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Remove use of plugins.findPlugin(KotlinBaseApiPlugin::class.java) to detect built-in Kotlin #2772
As discussed in https://issuetracker.google.com/476936389, AGP's built-in Kotlin is going to apply an internal subclass of KotlinBaseApiPlugin instead of applying KotlinBaseApiPlugin directly.
That means plugins.findPlugin(KotlinBaseApiPlugin::class.java) will no longer work as it doesn't recognize the subclass of KotlinBaseApiPlugin.
Activity
consp1racy commentedon Feb 6, 2026
EDIT: The above logic is exclusively used in
KotlinCompilerPluginSupportPlugin.applyToCompilationwhich runsafterEvaluate. False alarm.Make sure KSP works as expected when Android Built-in Kotlin is enabled per-module and KSP plugin is declared before AGP, i.e.:
module/build.gradle
plugins { id("com.google.devtools.ksp") id("com.android.library") id("com.android.built-in-kotlin") }gradle.properties
hfmehmed commentedon Feb 12, 2026
Fix will be released as part of the 2.3.6 release