[Misc] Enable @Experimental project-wide
This commit is contained in:
committed by
Dmitry Savvinov
parent
f026a98403
commit
a0f339ffc7
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user