Support -Xuse-experimental in the new MPP languageSettings { ... } DSL

Add the corresponding Gradle plugin DSL, consistency checks, and logic
for propagating these settings to the compiler during build.

Issue #KT-26840 In Progress
This commit is contained in:
Sergey Igushkin
2018-10-10 17:54:24 +03:00
parent bde6d841c1
commit 5db23f1a81
6 changed files with 74 additions and 17 deletions
@@ -15,4 +15,8 @@ interface LanguageSettingsBuilder {
fun enableLanguageFeature(name: String)
val enabledLanguageFeatures: Set<String>
fun useExperimentalAnnotation(name: String)
val experimentalAnnotationsInUse: Set<String>
}