Skip to content

Commit

Permalink
Compile with Java 8 always
Browse files Browse the repository at this point in the history
  • Loading branch information
qwwdfsad committed Oct 26, 2021
1 parent f1821d6 commit d3f698d
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions kotlinx-coroutines-core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -169,12 +169,6 @@ task checkJdk16() {
}
}

tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile) {
kotlinOptions.jdkHome = System.env.JDK_16
// only fail when actually trying to compile, not during project setup phase
dependsOn(checkJdk16)
}

jvmTest {
minHeapSize = '1g'
maxHeapSize = '1g'
Expand Down Expand Up @@ -251,7 +245,6 @@ task jdk16Test(type: Test, dependsOn: [compileTestKotlinJvm, checkJdk16]) {
classpath = files { jvmTest.classpath }
testClassesDirs = files { jvmTest.testClassesDirs }
executable = "$System.env.JDK_16/bin/java"
exclude '**/*LFStressTest.*' // lock-freedom tests use LockFreedomTestEnvironment which needs JDK8
exclude '**/*LincheckTest.*' // Lincheck tests use LinChecker which needs JDK8
exclude '**/exceptions/**' // exceptions tests check suppressed exception which needs JDK8
exclude '**/ExceptionsGuideTest.*'
Expand Down

0 comments on commit d3f698d

Please sign in to comment.