AndroidQuery icon indicating copy to clipboard operation
AndroidQuery copied to clipboard

Java 8

Open ghost opened this issue 8 years ago • 1 comments

Is there any chance to generate model files when we are using compatibility with java 8?

You are probably aware of that, but if you are not then: When we put this:

compileOptions {
    sourceCompatibility JavaVersion.VERSION_1_8
    targetCompatibility JavaVersion.VERSION_1_8
}
jackOptions {
    enabled true
}

in our gradle -> your annotation processor is not working. Any solution for that?

ghost avatar Feb 13 '17 10:02 ghost

This actually seems to be a jack bug: https://code.google.com/p/android/issues/detail?id=213471

See another related discussion here: https://code.google.com/p/android/issues/detail?id=214615

It is marked as "FutureRelease", which means with a bit of luck it will be integrated soon. I'm keeping that issue open until this works.

FredJul avatar Feb 13 '17 15:02 FredJul