Added experimental features

This commit is contained in:
Alexander Nozik 2019-09-12 09:42:08 +03:00
parent 09d3b0e973
commit 321180dc97

View File

@ -7,7 +7,9 @@ import org.jetbrains.kotlin.gradle.plugin.LanguageSettingsBuilder
internal fun LanguageSettingsBuilder.applySettings(): Unit { internal fun LanguageSettingsBuilder.applySettings(): Unit {
progressiveMode = true progressiveMode = true
enableLanguageFeature("InlineClasses") enableLanguageFeature("InlineClasses")
useExperimentalAnnotation("kotlin.ExperimentalUnsignedType") useExperimentalAnnotation("kotlin.ExperimentalUnsignedTypes")
useExperimentalAnnotation("kotlin.ExperimentalStdlibApi")
useExperimentalAnnotation("kotlin.time.ExperimentalTime")
} }
internal fun RepositoryHandler.applyRepos(): Unit{ internal fun RepositoryHandler.applyRepos(): Unit{