Files
kotlin-fork/libraries/stdlib/samples/build.gradle
T
Mikhail Zarechenskiy cdf5323f8c Disable NewInference for stdlib tests
There is one failing test namely `ValByMapExtensionsTest.doTest`, which
 is quite questionable because its checks the use of out projection and
 Exact annotation (see KT-18789)
2020-02-13 11:15:56 +03:00

27 lines
596 B
Groovy

apply plugin: 'kotlin'
dependencies {
compile project(':kotlin-stdlib-jdk8')
testCompile project(':kotlin-test:kotlin-test-junit')
}
sourceSets {
test.kotlin.srcDir 'test'
}
compileTestKotlin {
kotlinOptions {
jdkHome = JDK_18
freeCompilerArgs = [
"-Xuse-experimental=kotlin.ExperimentalStdlibApi",
"-Xuse-experimental=kotlin.ExperimentalUnsignedTypes",
"-Xuse-experimental=kotlin.time.ExperimentalTime",
"-XXLanguage:-NewInference"
]
}
}
test {
executable = "$JDK_18/bin/java"
}