-
- All Implemented Interfaces:
-
org.jetbrains.kotlin.gradle.dsl.KotlinCommonCompilerToolOptions
public interface KotlinCommonCompilerOptions implements KotlinCommonCompilerToolOptions
-
-
Method Summary
Modifier and Type Method Description abstract Property<KotlinVersion>
getApiVersion()
Allow using declarations only from the specified version of bundled libraries Possible values: "1.3 (deprecated)", "1.4 (deprecated)", "1.5", "1.6", "1.7", "1.8", "1.9 (experimental)", "2. abstract Property<KotlinVersion>
getLanguageVersion()
Provide source compatibility with the specified version of Kotlin Possible values: "1.3 (deprecated)", "1.4 (deprecated)", "1.5", "1.6", "1.7", "1.8", "1.9 (experimental)", "2. abstract Property<Boolean>
getUseK2()
Compile using experimental K2. -
Methods inherited from class org.jetbrains.kotlin.gradle.dsl.KotlinCommonCompilerToolOptions
getAllWarningsAsErrors, getFreeCompilerArgs, getSuppressWarnings, getVerbose
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getApiVersion
@Optional()@Input() abstract Property<KotlinVersion> getApiVersion()
Allow using declarations only from the specified version of bundled libraries Possible values: "1.3 (deprecated)", "1.4 (deprecated)", "1.5", "1.6", "1.7", "1.8", "1.9 (experimental)", "2.0 (experimental)" Default value: null
-
getLanguageVersion
@Optional()@Input() abstract Property<KotlinVersion> getLanguageVersion()
Provide source compatibility with the specified version of Kotlin Possible values: "1.3 (deprecated)", "1.4 (deprecated)", "1.5", "1.6", "1.7", "1.8", "1.9 (experimental)", "2.0 (experimental)" Default value: null
-
-
-
-