I'm developing a custom gradle plugin and the dependencies for my plugin project look like this:
dependencies {
compile gradleApi()
compile localGroovy()
compile('com.xxx.oozie:oozie-dsl-parser:1.0.127') {
exclude module: 'groovy-all'
}
testCompile('org.spockframework:spock-core:1.0-groovy-2.3') {
exclude module: 'groovy-all'
}
}
However, in the interest of reproducible builds, I'm wondering if using localGroovy()
and gradleApi()
is advisable.
After much googling, although I could replace localGroovy()
with a specific version of groovy, I can't seem to find a definitive answer on what I would replace gradleApi()
with.
Do you guys have any suggestions?
Thanks!
gradleApi()
dependency anywhere. Suffice to say that the decade is actually ending these days with no answer in sight. Gradle seems quite obscure in some respects. – Obelize