-
Notifications
You must be signed in to change notification settings - Fork 11
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
Support for Kotlin gradle DSL ? #19
Comments
Can you please show your build script (or relevant parts) and tell me your gradle version. |
My bad: I was doing
which set the compilerArgs to an unmutable List.
The confusing part of it was that the error message pointed to the quality plugin and the build worked fine if I removed the plugin. But obviously the quality plugin was the only one trying to set an additional compiler option. |
…(JavaCompile.options.compilerArgs) to workaround possible immutable list usage in options (#19)
Thank you for the investigation. I did not find any suggestions to declare options like this. Instead, gradle docs suggest options addition. So I consider this as incorrect usage. Anyway, I switched to use options provider instead of direct modification so this issue will not appear anymore. |
I am not sure if the plugin is supposed to work with gradle kotlin DSL.
After I converted my build.gradle to Kotlin, I get the following error.
But maybe I am just holding it wrong somehow.
The text was updated successfully, but these errors were encountered: