We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
compilerArgs
In the root project's build.gradle, the compileJava task is configured as follows:
build.gradle
compileJava
compileJava { options.getGeneratedSourceOutputDirectory().set((File) project.generatedSourcesJavaDir) options.compilerArgs += [ "-Xlint:unchecked", "-Xlint:deprecation", "-s", project.generatedSourcesJavaDir ] }
In the ext block, generatedSourcesJavaDir is assigned a file. However, the compilerArgs in the compileJava task expect a list of Strings.
ext
generatedSourcesJavaDir
Is there a particular reason to use a File type in the args list here or could this be changed to get the String path from the file?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In the root project's
build.gradle
, thecompileJava
task is configured as follows:In the
ext
block,generatedSourcesJavaDir
is assigned a file. However, thecompilerArgs
in thecompileJava
task expect a list of Strings.Is there a particular reason to use a File type in the args list here or could this be changed to get the String path from the file?
The text was updated successfully, but these errors were encountered: