Skip to content

Commit

Permalink
Bump groovy 4.0.21
Browse files Browse the repository at this point in the history
Signed-off-by: Paolo Di Tommaso <paolo.ditommaso@gmail.com>
  • Loading branch information
pditommaso committed Apr 10, 2024
1 parent 658a5ec commit 9e08390
Show file tree
Hide file tree
Showing 13 changed files with 55 additions and 56 deletions.
47 changes: 23 additions & 24 deletions build.gradle
Expand Up @@ -109,8 +109,8 @@ allprojects {

// Documentation required libraries
groovyDoc 'org.fusesource.jansi:jansi:2.4.0'
groovyDoc "org.apache.groovy:groovy-groovydoc:4.0.20"
groovyDoc "org.apache.groovy:groovy-ant:4.0.20"
groovyDoc "org.apache.groovy:groovy-groovydoc:4.0.21"
groovyDoc "org.apache.groovy:groovy-ant:4.0.21"
}

test {
Expand Down Expand Up @@ -145,28 +145,27 @@ allprojects {
}

// Required to run tests on Java 9 and higher in compatibility mode
if (JavaVersion.current() >= JavaVersion.VERSION_1_9) {
tasks.withType(Test) {
jvmArgs ([
'--enable-preview',
'--add-opens=java.base/java.lang=ALL-UNNAMED',
'--add-opens=java.base/java.io=ALL-UNNAMED',
'--add-opens=java.base/java.nio=ALL-UNNAMED',
'--add-opens=java.base/java.nio.file.spi=ALL-UNNAMED',
'--add-opens=java.base/java.net=ALL-UNNAMED',
'--add-opens=java.base/java.util=ALL-UNNAMED',
'--add-opens=java.base/java.util.concurrent.locks=ALL-UNNAMED',
'--add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED',
'--add-opens=java.base/sun.nio.ch=ALL-UNNAMED',
'--add-opens=java.base/sun.nio.fs=ALL-UNNAMED',
'--add-opens=java.base/sun.net.www.protocol.http=ALL-UNNAMED',
'--add-opens=java.base/sun.net.www.protocol.https=ALL-UNNAMED',
'--add-opens=java.base/sun.net.www.protocol.ftp=ALL-UNNAMED',
'--add-opens=java.base/sun.net.www.protocol.file=ALL-UNNAMED',
'--add-opens=java.base/jdk.internal.misc=ALL-UNNAMED',
'--add-opens=java.base/jdk.internal.vm=ALL-UNNAMED',
])
}
tasks.withType(Test) {
jvmArgs ([
'-Dorg.spockframework.mock.ignoreByteBuddy=true',
'--enable-preview',
'--add-opens=java.base/java.lang=ALL-UNNAMED',
'--add-opens=java.base/java.io=ALL-UNNAMED',
'--add-opens=java.base/java.nio=ALL-UNNAMED',
'--add-opens=java.base/java.nio.file.spi=ALL-UNNAMED',
'--add-opens=java.base/java.net=ALL-UNNAMED',
'--add-opens=java.base/java.util=ALL-UNNAMED',
'--add-opens=java.base/java.util.concurrent.locks=ALL-UNNAMED',
'--add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED',
'--add-opens=java.base/sun.nio.ch=ALL-UNNAMED',
'--add-opens=java.base/sun.nio.fs=ALL-UNNAMED',
'--add-opens=java.base/sun.net.www.protocol.http=ALL-UNNAMED',
'--add-opens=java.base/sun.net.www.protocol.https=ALL-UNNAMED',
'--add-opens=java.base/sun.net.www.protocol.ftp=ALL-UNNAMED',
'--add-opens=java.base/sun.net.www.protocol.file=ALL-UNNAMED',
'--add-opens=java.base/jdk.internal.misc=ALL-UNNAMED',
'--add-opens=java.base/jdk.internal.vm=ALL-UNNAMED',
])
}

/**
Expand Down
14 changes: 7 additions & 7 deletions modules/nextflow/build.gradle
Expand Up @@ -17,12 +17,12 @@ compileGroovy {
dependencies {
api(project(':nf-commons'))
api(project(':nf-httpfs'))
api "org.apache.groovy:groovy:4.0.20"
api "org.apache.groovy:groovy-nio:4.0.20"
api "org.apache.groovy:groovy-xml:4.0.20"
api "org.apache.groovy:groovy-json:4.0.20"
api "org.apache.groovy:groovy-templates:4.0.20"
api "org.apache.groovy:groovy-yaml:4.0.20"
api "org.apache.groovy:groovy:4.0.21"
api "org.apache.groovy:groovy-nio:4.0.21"
api "org.apache.groovy:groovy-xml:4.0.21"
api "org.apache.groovy:groovy-json:4.0.21"
api "org.apache.groovy:groovy-templates:4.0.21"
api "org.apache.groovy:groovy-yaml:4.0.21"
api "org.slf4j:jcl-over-slf4j:2.0.7"
api "org.slf4j:jul-to-slf4j:2.0.7"
api "org.slf4j:log4j-over-slf4j:2.0.7"
Expand All @@ -48,7 +48,7 @@ dependencies {
testImplementation 'org.subethamail:subethasmtp:3.1.7'

// test configuration
testFixturesApi ("org.apache.groovy:groovy-test:4.0.20") { exclude group: 'org.apache.groovy' }
testFixturesApi ("org.apache.groovy:groovy-test:4.0.21") { exclude group: 'org.apache.groovy' }
testFixturesApi ("cglib:cglib-nodep:3.3.0")
testFixturesApi ("org.objenesis:objenesis:3.2")
testFixturesApi ("org.spockframework:spock-core:2.3-groovy-4.0") { exclude group: 'org.apache.groovy'; exclude group: 'net.bytebuddy' }
Expand Down
4 changes: 2 additions & 2 deletions modules/nf-commons/build.gradle
Expand Up @@ -26,8 +26,8 @@ sourceSets {

dependencies {
api "ch.qos.logback:logback-classic:1.4.12"
api "org.apache.groovy:groovy:4.0.20"
api "org.apache.groovy:groovy-nio:4.0.20"
api "org.apache.groovy:groovy:4.0.21"
api "org.apache.groovy:groovy-nio:4.0.21"
api "commons-lang:commons-lang:2.6"
api 'com.google.guava:guava:33.0.0-jre'
api 'org.pf4j:pf4j:3.10.0'
Expand Down
6 changes: 3 additions & 3 deletions modules/nf-httpfs/build.gradle
Expand Up @@ -30,12 +30,12 @@ sourceSets {
dependencies {
api project(':nf-commons')
api "ch.qos.logback:logback-classic:1.4.12"
api "org.apache.groovy:groovy:4.0.20"
api "org.apache.groovy:groovy-nio:4.0.20"
api "org.apache.groovy:groovy:4.0.21"
api "org.apache.groovy:groovy-nio:4.0.21"
api("com.esotericsoftware.kryo:kryo:2.24.0") { exclude group: 'com.esotericsoftware.minlog', module: 'minlog' }

/* testImplementation inherited from top gradle build file */
testImplementation "org.apache.groovy:groovy-json:4.0.20" // needed by wiremock
testImplementation "org.apache.groovy:groovy-json:4.0.21" // needed by wiremock
testImplementation ('com.github.tomakehurst:wiremock:1.57') { exclude module: 'groovy-all' }
testImplementation ('com.github.tomjankes:wiremock-groovy:0.2.0') { exclude module: 'groovy-all' }

Expand Down
4 changes: 2 additions & 2 deletions plugins/nf-amazon/build.gradle
Expand Up @@ -56,6 +56,6 @@ dependencies {

testImplementation(testFixtures(project(":nextflow")))
testImplementation project(':nextflow')
testImplementation "org.apache.groovy:groovy:4.0.20"
testImplementation "org.apache.groovy:groovy-nio:4.0.20"
testImplementation "org.apache.groovy:groovy:4.0.21"
testImplementation "org.apache.groovy:groovy-nio:4.0.21"
}
4 changes: 2 additions & 2 deletions plugins/nf-azure/build.gradle
Expand Up @@ -52,6 +52,6 @@ dependencies {

testImplementation(testFixtures(project(":nextflow")))
testImplementation project(':nextflow')
testImplementation "org.apache.groovy:groovy:4.0.20"
testImplementation "org.apache.groovy:groovy-nio:4.0.20"
testImplementation "org.apache.groovy:groovy:4.0.21"
testImplementation "org.apache.groovy:groovy-nio:4.0.21"
}
4 changes: 2 additions & 2 deletions plugins/nf-cloudcache/build.gradle
Expand Up @@ -35,7 +35,7 @@ dependencies {
compileOnly 'org.pf4j:pf4j:3.10.0'

testImplementation(testFixtures(project(":nextflow")))
testImplementation "org.apache.groovy:groovy:4.0.20"
testImplementation "org.apache.groovy:groovy-nio:4.0.20"
testImplementation "org.apache.groovy:groovy:4.0.21"
testImplementation "org.apache.groovy:groovy-nio:4.0.21"
}

4 changes: 2 additions & 2 deletions plugins/nf-codecommit/build.gradle
Expand Up @@ -42,6 +42,6 @@ dependencies {

testImplementation(testFixtures(project(":nextflow")))
testImplementation project(':nextflow')
testImplementation "org.apache.groovy:groovy:4.0.20"
testImplementation "org.apache.groovy:groovy-nio:4.0.20"
testImplementation "org.apache.groovy:groovy:4.0.21"
testImplementation "org.apache.groovy:groovy-nio:4.0.21"
}
8 changes: 4 additions & 4 deletions plugins/nf-console/build.gradle
Expand Up @@ -37,13 +37,13 @@ dependencies {
compileOnly 'org.slf4j:slf4j-api:2.0.7'
compileOnly 'org.pf4j:pf4j:3.10.0'

api("org.apache.groovy:groovy-console:4.0.20") { transitive=false }
api("org.apache.groovy:groovy-swing:4.0.20") { transitive=false }
api("org.apache.groovy:groovy-console:4.0.21") { transitive=false }
api("org.apache.groovy:groovy-swing:4.0.21") { transitive=false }
// this is required by 'groovy-console'
api("com.github.javaparser:javaparser-core:3.25.8")

testImplementation project(':nextflow')
testImplementation "org.apache.groovy:groovy:4.0.20"
testImplementation "org.apache.groovy:groovy-nio:4.0.20"
testImplementation "org.apache.groovy:groovy:4.0.21"
testImplementation "org.apache.groovy:groovy-nio:4.0.21"
}

4 changes: 2 additions & 2 deletions plugins/nf-ga4gh/build.gradle
Expand Up @@ -45,6 +45,6 @@ dependencies {
api 'joda-time:joda-time:2.9.9'

testImplementation(testFixtures(project(":nextflow")))
testImplementation "org.apache.groovy:groovy:4.0.20"
testImplementation "org.apache.groovy:groovy-nio:4.0.20"
testImplementation "org.apache.groovy:groovy:4.0.21"
testImplementation "org.apache.groovy:groovy-nio:4.0.21"
}
4 changes: 2 additions & 2 deletions plugins/nf-google/build.gradle
Expand Up @@ -46,8 +46,8 @@ dependencies {
api 'com.google.code.gson:gson:2.10.1'

testImplementation(testFixtures(project(":nextflow")))
testImplementation "org.apache.groovy:groovy:4.0.20"
testImplementation "org.apache.groovy:groovy-nio:4.0.20"
testImplementation "org.apache.groovy:groovy:4.0.21"
testImplementation "org.apache.groovy:groovy-nio:4.0.21"
}

test {
Expand Down
4 changes: 2 additions & 2 deletions plugins/nf-tower/build.gradle
Expand Up @@ -37,6 +37,6 @@ dependencies {
api "com.fasterxml.jackson.core:jackson-databind:2.12.7.1"

testImplementation(testFixtures(project(":nextflow")))
testImplementation "org.apache.groovy:groovy:4.0.20"
testImplementation "org.apache.groovy:groovy-nio:4.0.20"
testImplementation "org.apache.groovy:groovy:4.0.21"
testImplementation "org.apache.groovy:groovy-nio:4.0.21"
}
4 changes: 2 additions & 2 deletions plugins/nf-wave/build.gradle
Expand Up @@ -39,6 +39,6 @@ dependencies {
api 'io.seqera:wave-utils:0.8.1'

testImplementation(testFixtures(project(":nextflow")))
testImplementation "org.apache.groovy:groovy:4.0.20"
testImplementation "org.apache.groovy:groovy-nio:4.0.20"
testImplementation "org.apache.groovy:groovy:4.0.21"
testImplementation "org.apache.groovy:groovy-nio:4.0.21"
}

0 comments on commit 9e08390

Please sign in to comment.