Does the order of the `plugins{}` block matters in...
# ksp
t
Does the order of the
plugins{}
block matters in general? After updating to ksp 1.0.26 I got the following error in all the modules that have the ksp line before the android one. Was not the case for as far as this project existed and the first versions of ksp.
Copy code
> Failed to apply plugin class 'org.jetbrains.kotlin.gradle.plugin.KotlinBaseApiPlugin'.
   > Extension with name 'android' does not exist. Currently registered extension names: [ext, sonar, sonarqube, libs, versionCatalogs, projects, ksp, base, defaultArtifacts, spotless, reporting, detekt]
s
Can you run the gradle build with
--stacktrace
(e.g.,
./gradlew assemble --stacktrace
) and paste more of the stacktrace?
t
I've switched the order as no idea if the order matters or not. If there's a bug and an issue on GitHub about it I can revert an provide those if needed.
s
Hey, actually, I was able to reproduce the issue on my side, so no need to do anything
👍 1