-
-
Notifications
You must be signed in to change notification settings - Fork 47
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
Android support #70
Comments
Hi @serivesmejia, Sorry, I am not familiar with Android, so you would need to find a way how to configure Java compilation for Android yourself. But, as long as they are using Javac, Jabel would also work. One alternative is to put everything into a "standard" Java module and depend on it from your Android module. |
compileJava is provided by gradle, so using Jabel for Android projects shouldn't be that different; the android gradle plugin uses compileJava so you can probably write what's in the README and it'll just work. |
This is not the case, I have configure([tasks.compileJava]) {
sourceCompatibility = 21 // for the IDE support
options.release = 8
javaCompiler = javaToolchains.compilerFor {
languageVersion = JavaLanguageVersion.of(21)
}
} in my build script and it does not work:
|
Hi! I was wondering if there was any sort of support for this using the android gradle plugin, since it seems like it doesn't directly expose a "compileJava" task, and im not precisely sure how this is handled on android. thanks!
The text was updated successfully, but these errors were encountered: