say you have a custom-plugin which does xdoclet and needs some obscure classpath-entries. where and how do you configure the classpath for this plugin?
The same way in which you put the plugin on the build classpath…
buildscript {
dependencies {
classpath «obscure classpath dependency»
}
}
You can also leverage transitive dependency management and publish a plugin Jar along with a pom.xml or ivy.xml to a repository. Then clients of the plugin only need to specify a dependency on the plugin module.