Android Gradle 3.1.3 AnnotationProcessor错误

时间:2018-07-26 11:02:06

标签: android gradle

我正在使用我在gradle 2.3.0中使用的AnnotationProcessor项目,但无法将其编译为3.1.3

enter image description here

(模块:应用)

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"

0 个答案:

没有答案