[Misc] Enable @Experimental project-wide

This commit is contained in:
Dmitriy Novozhilov
2019-07-03 12:55:06 +03:00
committed by Dmitry Savvinov
parent f026a98403
commit a0f339ffc7
2 changed files with 1 additions and 1 deletions
+1
View File
@@ -331,6 +331,7 @@ allprojects {
configureJvmProject(javaHome!!, jvmTarget!!)
val commonCompilerArgs = listOfNotNull(
"-Xuse-experimental=kotlin.Experimental",
"-Xallow-kotlin-package",
"-Xread-deserialized-contracts",
"-Xjvm-default=compatibility",
@@ -593,7 +593,6 @@ fun Variance.convertVariance(): TypeVariance {
}
@Suppress("EXPERIMENTAL_IS_NOT_ENABLED")
@UseExperimental(ExperimentalContracts::class)
fun requireOrDescribe(condition: Boolean, value: Any?) {
contract {