Compilation options.
Type | Name and description |
---|---|
org.gradle.api.JavaVersion |
defaultJavaVersion Default Java version that will be used if the source and target compatibility levels will not be set explicitly. |
String |
encoding |
boolean |
ndkCygwinMode |
Type | Name and description |
---|---|
org.gradle.api.JavaVersion |
getSourceCompatibility() Language level of the source code. |
org.gradle.api.JavaVersion |
getTargetCompatibility() Version of the generated Java bytecode. |
void |
setSourceCompatibility(org.gradle.api.JavaVersion sourceCompatibility) |
void |
setTargetCompatibility(org.gradle.api.JavaVersion targetCompatibility) |
Default Java version that will be used if the source and target compatibility levels will not be set explicitly.
Language level of the source code.
Similar to what Gradle Java plugin uses.
Version of the generated Java bytecode.
Similar to what Gradle Java plugin uses.