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 {
progressiveMode = true
enableLanguageFeature("InlineClasses")
useExperimentalAnnotation("kotlin.ExperimentalUnsignedType")
useExperimentalAnnotation("kotlin.ExperimentalUnsignedTypes")
useExperimentalAnnotation("kotlin.ExperimentalStdlibApi")
useExperimentalAnnotation("kotlin.time.ExperimentalTime")
}
internal fun RepositoryHandler.applyRepos(): Unit{