How Gradle adds classes from `plugins {}` block to...
# gradle
t
How Gradle adds classes from
plugins {}
block to classpath? I have project with subprojects, in root
build.gradle.kts
I applied my plugin using
plugins {}
. This plugin looks for other plugins and add tasks depending on it. One of subprojects applies one of this other plugin using
plugins {}
block (this plugin is not applied neither in root nor in other subprojects). Gradle failed to configure with
NoClassDefFoundError
for other plugin extension class. Moving addtion of this other plugin to root
build.gradle.kts
solves the problem, but I still want to figure out how to solve the first case.