class JavaSettings extends java.lang.Object
Settings class that defines the settings used by the Java plugin.
| Type | Name and description |
|---|---|
java.lang.String |
compilerArgumentsAdditional compiler arguments. |
java.lang.String |
docArgumentsAdditional JavaDoc arguments. |
java.lang.String |
javaVersionConfigures the Java version to use for compilation. |
java.util.List<java.lang.Object> |
libraryDirectoriesAdditional directories that contain JAR files to include in the compilation classpath. |
java.util.List<java.util.Map<java.lang.String, java.lang.Object>> |
mainDependenciesThe list of dependencies to include on the classpath when javac is called to compile the main Java source files. |
java.util.List<java.util.Map<java.lang.String, java.lang.Object>> |
testDependenciesThe list of dependencies to include on the classpath when java is called to compile the test Java source files. |
| Constructor and description |
|---|
JavaSettings() |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Additional compiler arguments. This are included when javac is invoked. Defaults to "-g".
Additional JavaDoc arguments. This are included when javadoc is invoked. Defaults to "".
Configures the Java version to use for compilation. This version must be defined in the ~/.savant/plugins/org.savantbuild.plugin.java.properties file.
Additional directories that contain JAR files to include in the compilation classpath. Defaults to [].
The list of dependencies to include on the classpath when javac is called to compile the main Java source files. This defaults to:
[
[group: "compile", transitive: false, fetchSource: false],
[group: "provided", transitive: false, fetchSource: false]
]
The list of dependencies to include on the classpath when java is called to compile the test Java source files. This defaults to:
[
[group: "compile", transitive: false, fetchSource: false],
[group: "test-compile", transitive: false, fetchSource: false],
[group: "provided", transitive: false, fetchSource: false]
]