Enable kotlinx.coroutines.ExperimentalCoroutinesApi for coroutines-test
Disable warning on usage of experimental Coroutines like `runBlockingTest` Affected: none MAILAND-896
This commit is contained in:
parent
32427675b2
commit
217ac3f265
|
@ -34,10 +34,15 @@ allprojects {
|
|||
}
|
||||
|
||||
setupKotlin(
|
||||
// Enables new type inference: TODO remove with Kotlin 1.4
|
||||
"-XXLanguage:+NewInference",
|
||||
"-Xuse-experimental=kotlin.Experimental",
|
||||
// Enables inline classes
|
||||
"-XXLanguage:+InlineClasses",
|
||||
"-Xopt-in=kotlin.ExperimentalUnsignedTypes"
|
||||
// Enables unsigned types, like `UInt`, `ULong`, etc
|
||||
"-Xopt-in=kotlin.ExperimentalUnsignedTypes",
|
||||
// Enables experimental Coroutines from coroutines-test artifact, like `runBlockingTest`
|
||||
"-Xopt-in=kotlinx.coroutines.ExperimentalCoroutinesApi"
|
||||
)
|
||||
setupDetekt { "tokenAutoComplete" !in it.name }
|
||||
|
||||
|
|
Loading…
Reference in New Issue