Closed sakuna63 closed 7 years ago
Try removing skipJavaC
since you need javaC to run in order to have annotation processors run.
Thanks for your reply!!
I've already tried it. but I encountered same error, without skipJavaC
.
ref: https://github.com/sakuna63/Sandbox-Android/commit/6ea58c786598e51de01ab085d9b5fd03266265fa
What does the reference have to do with anything?
Please change
androidGroovy {
skipJavaC = true
options {
configure(groovyOptions) {
javaAnnotationProcessing = true
}
}
}
to
androidGroovy {
options {
configure(groovyOptions) {
javaAnnotationProcessing = true
}
}
}
If this additionally causes issues please include those here.
Adding a failing databinding test similar to the ones found here https://github.com/groovy/groovy-android-gradle-plugin/tree/05457107cf6e7c310a1c1a24f82b83c9fbbd0d2c/groovy-android-gradle-plugin/src/test/groovy/groovyx/functional I'd be able to more quickly support you.
Also, you are not using groovy in your application so I am unsure why you are including this plugin.
@sakuna63 can you provide an update?
Below error printed when building android project on Android Studio 2.2 with using data binding.
But I don't encounter this error when I build on command line, like
./gradlew assembleDebug
.You can reproduce error : https://github.com/sakuna63/Sandbox-Android/tree/groovy