我正在使用我在gradle 2.3.0中使用的AnnotationProcessor项目,但无法将其编译为3.1.3
(模块:应用)
android {
defaultConfig {
...
javaCompileOptions {
annotationProcessorOptions {
includeCompileClasspath true
}
}
}
}
dependencies {
annotationProcessor project(':messagebus')
implementation project(':messagebus')
}
(模块:消息总线)
apply plugin: 'java'
apply plugin: 'application'
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
}
sourceCompatibility = "1.8"
targetCompatibility = "1.8"