I have a multi project gradle build, configured in this way:
root
|
|---- projectA
|
|---- projectB
I want to declare in the ro
compile
method is part of the plugin you've been using (reference).
allprojects {
apply plugin: 'java'
//so that we can use 'compile', 'testCompile' for dependencies
dependencies {
compile 'org.projectlombok:lombok:1.12.2'
}
}
If you got the 'java' plugin has been applied, but it is not compatible with the Android plugins error, try this
subprojects {
afterEvaluate {
dependencies {
implementation "YOUR DEPENDENCIES"
}
}
}