Annotation processors must be explicitly declared now

后端 未结 5 1971
[愿得一人]
[愿得一人] 2021-02-01 14:16
Error:Execution failed for task \':laMusique2May2016:javaPreCompileRelease\'.
> Annotation processors must be explicitly declared now.  The following dependencies on          


        
5条回答
  •  粉色の甜心
    2021-02-01 15:12

    Annotation processors can be declared with annotationProcessor instead of implementation/compile like we used to declare earlier.

    implementation 'com.google.auto.value:auto-value:1.1' 
    
    compile 'com.google.auto.value:auto-value:1.1' 
    

    Should be replaced with

    annotationProcessor 'com.google.auto.value:auto-value:1.1'
    

提交回复
热议问题