Gradle Custom Plugin: gradleApi() vs Explicit Dependency
问题 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