CompileOptions

API Documentation:CompileOptions

Compilation options.

Properties

PropertyDescription
sourceCompatibility

Language level of the source code.

targetCompatibility

Version of the generated Java bytecode.

Methods

No methods

Script blocks

No script blocks

Property details

org.gradle.api.JavaVersion sourceCompatibility

Language level of the source code.

Similar to what Gradle Java plugin uses.

org.gradle.api.JavaVersion targetCompatibility

Version of the generated Java bytecode.

Similar to what Gradle Java plugin uses.