I'm confronting a weird issue using gradlew(4.10.2) + dagger(2.18).
问题是当我打电话时:
./gradlew :app:compileDebugAndroidTestKotlin
The build fails with:
任务:常见:CompiledBugJavaWithJavaC失败
/CommonModule_提供SonFactory.java:6:error:package javax.注释.处理不存在
/CommonModule_ProvidesGsonFactory.java:8: error: cannot find symbol @Generated(
但如果我运行task from Android Studio,任务就会成功,dagger生成的类中就会出现@Generated
is not.
Do you have some clue to avoid the @Generated
annotation using ./gradlew
?