darkmoon_uk
12/23/2021, 5:38 AMbuildSrc
?
I'm hitting unexpected trouble quite early on 🧵 👉darkmoon_uk
12/23/2021, 5:42 AMbuildSrc
that reference classes in the K multiplatform
plugin, but as soon as I add this to my buildSrc
's build.gradle.kts
:
dependencies {
compileOnly("org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.10") // Just innocently wanting to reference this
}
...Gradle gets 'very unhappy': this seems to mess with the class path and get me a mix of:
java.lang.IllegalArgumentException: org.gradle.api.internal.initialization.DefaultClassLoaderScope@d4aade2 must be locked before it can be used to compute a classpath!
...just generally, is referencing a plugin for its classes like this a no-no?
Seems the same as this issueBig Chungus
12/23/2021, 8:58 AMBig Chungus
12/23/2021, 8:59 AMJavier
12/23/2021, 9:00 AMJavier
12/23/2021, 9:02 AM