moko-template
moko-template copied to clipboard
@Generated bug
should be added into root build.gradle:
allprojects {
afterEvaluate {
dependencies {
if(configurations.map { it.name }.contains("compileOnly")) {
// fix of package javax.annotation does not exist import javax.annotation.Generated in DataBinding code
"compileOnly"("javax.annotation:jsr250-api:1.0")
}
}
}
}
reason is:
error: cannot find symbol
@Generated("Android Data Binding")
^
symbol: class Generated