New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does not support JDK8 #571
Comments
The android gradle plugin currently doesn't support annotation processing when using jack https://code.google.com/p/android/issues/detail?id=204065 |
Is this still the case with final Android N apis today? I thought Google would've fixed annotation processing support... |
They have. Consult the Jack documentation for how to use annotation On Fri, Jun 17, 2016 at 5:25 PM Igor Ganapolsky notifications@github.com
|
Also it doesn't have anything to do with N since it's a build system On Fri, Jun 17, 2016 at 5:26 PM Jake Wharton jakewharton@gmail.com wrote:
|
@JakeWharton Thanks. But here is specifically says:
So it has something to do with N. |
That is for using Java 8 language features which isn't related to On Fri, Jun 17, 2016 at 5:25 PM Igor Ganapolsky notifications@github.com
|
When the JDK 1.8, configure the build. GradleDefaultConfig
defaultConfig {
jackOptions {
enabled true
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
Compile error:
"Error: Could not find the property 'options' on the task' : app: compileDebugJavaWithJack '."
The text was updated successfully, but these errors were encountered: