From a457cbc0a63509f7cd418adbbad2ae73639aac6a Mon Sep 17 00:00:00 2001 From: Tom Sellman Date: Thu, 5 Dec 2024 15:51:35 +0000 Subject: [PATCH] Update to Java 17 - update toolchain to Java 21 - bump nextflow to 24.11.0-edge Signed-off-by: Tom Sellman --- .../groovy/io.nextflow.groovy-common-conventions.gradle | 8 ++++---- plugins/nf-hello/build.gradle | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/buildSrc/src/main/groovy/io.nextflow.groovy-common-conventions.gradle b/buildSrc/src/main/groovy/io.nextflow.groovy-common-conventions.gradle index 9854a8d..d51949f 100644 --- a/buildSrc/src/main/groovy/io.nextflow.groovy-common-conventions.gradle +++ b/buildSrc/src/main/groovy/io.nextflow.groovy-common-conventions.gradle @@ -14,17 +14,17 @@ repositories { java { toolchain { - languageVersion = JavaLanguageVersion.of(19) + languageVersion = JavaLanguageVersion.of(21) } } compileJava { - options.release.set(11) + options.release.set(17) } tasks.withType(GroovyCompile) { - sourceCompatibility = '11' - targetCompatibility = '11' + sourceCompatibility = '17' + targetCompatibility = '17' } tasks.withType(Test) { diff --git a/plugins/nf-hello/build.gradle b/plugins/nf-hello/build.gradle index c051b00..e7c1f22 100644 --- a/plugins/nf-hello/build.gradle +++ b/plugins/nf-hello/build.gradle @@ -50,7 +50,7 @@ sourceSets { } ext{ - nextflowVersion = '24.01.0-edge' + nextflowVersion = '24.11.0-edge' } dependencies {