Skip to content

Commit

Permalink
Configure target java version alongside gradle toolchain (nextflow-io…
Browse files Browse the repository at this point in the history
  • Loading branch information
tom-seqera authored Jan 22, 2025
1 parent 039c8f3 commit 2153abb
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -67,20 +67,18 @@ allprojects {
apply plugin: 'jacoco'

java {
// these settings apply to all jvm tooling, including groovy
toolchain {
languageVersion = JavaLanguageVersion.of(21)
}
sourceCompatibility = 17
targetCompatibility = 17
}

compileJava {
options.release.set(17)
}

tasks.withType(GroovyCompile) {
sourceCompatibility = 17
targetCompatibility = 17
}

idea {
module.inheritOutputDirs = true
}
Expand Down

0 comments on commit 2153abb

Please sign in to comment.