(minor) Move KotlinCommonToolOptions to kotlin-gradle-plugin-api

This change is needed to expose `kotlinOptions { ... }` in the
API interfaces.
This commit is contained in:
Sergey Igushkin
2018-11-12 15:47:16 +03:00
parent 635d436f02
commit ecd54d9b21
3 changed files with 3 additions and 2 deletions
@@ -0,0 +1,20 @@
// DO NOT EDIT MANUALLY!
// Generated by org/jetbrains/kotlin/generators/arguments/GenerateGradleOptions.kt
package org.jetbrains.kotlin.gradle.dsl
interface KotlinCommonOptions : org.jetbrains.kotlin.gradle.dsl.KotlinCommonToolOptions {
/**
* Allow to use declarations only from the specified version of bundled libraries
* Possible values: "1.0", "1.1", "1.2", "1.3", "1.4 (EXPERIMENTAL)"
* Default value: null
*/
var apiVersion: kotlin.String?
/**
* Provide source compatibility with specified language version
* Possible values: "1.0", "1.1", "1.2", "1.3", "1.4 (EXPERIMENTAL)"
* Default value: null
*/
var languageVersion: kotlin.String?
}
@@ -0,0 +1,30 @@
// DO NOT EDIT MANUALLY!
// Generated by org/jetbrains/kotlin/generators/arguments/GenerateGradleOptions.kt
package org.jetbrains.kotlin.gradle.dsl
interface KotlinCommonToolOptions {
/**
* Report an error if there are any warnings
* Default value: false
*/
var allWarningsAsErrors: kotlin.Boolean
/**
* Generate no warnings
* Default value: false
*/
var suppressWarnings: kotlin.Boolean
/**
* Enable verbose logging output
* Default value: false
*/
var verbose: kotlin.Boolean
/**
* A list of additional compiler arguments
* Default value: emptyList()
*/
var freeCompilerArgs: kotlin.collections.List<kotlin.String>
}