-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make work with 24.10 --------- Co-authored-by: Dr. Ernie Prabhakar <[email protected]>
- Loading branch information
Showing
18 changed files
with
235 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
23.04.3 | ||
23.10.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
/* | ||
* This file was generated by the Gradle 'init' task. | ||
*/ | ||
|
||
plugins { | ||
// Support convention plugins written in Groovy. Convention plugins are build scripts in 'src/main' that automatically become available as plugins in the main build. | ||
id 'groovy-gradle-plugin' | ||
} | ||
|
||
repositories { | ||
// Use the plugin portal to apply community plugins in convention plugins. | ||
gradlePluginPortal() | ||
} | ||
|
11 changes: 11 additions & 0 deletions
11
buildSrc/src/main/groovy/io.nextflow.groovy-application-conventions.gradle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
/* | ||
* This file was generated by the Gradle 'init' task. | ||
*/ | ||
|
||
plugins { | ||
// Apply the common convention plugin for shared build configuration between library and application projects. | ||
id 'io.nextflow.groovy-common-conventions' | ||
|
||
// Apply the application plugin to add support for building a CLI application in Java. | ||
id 'application' | ||
} |
53 changes: 53 additions & 0 deletions
53
buildSrc/src/main/groovy/io.nextflow.groovy-common-conventions.gradle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
/* | ||
* This file was generated by the Gradle 'init' task. | ||
*/ | ||
|
||
plugins { | ||
// Apply the groovy Plugin to add support for Groovy. | ||
id 'groovy' | ||
} | ||
|
||
repositories { | ||
// Use Maven Central for resolving dependencies. | ||
mavenCentral() | ||
} | ||
|
||
ext { | ||
jdkVersion = '11' | ||
javaLangVersion = 21 | ||
} | ||
|
||
java { | ||
toolchain { | ||
languageVersion = JavaLanguageVersion.of(javaLangVersion) // from nf-schema | ||
} | ||
} | ||
|
||
compileJava { | ||
options.release.set(jdkVersion.toInteger()) | ||
} | ||
|
||
tasks.withType(GroovyCompile) { | ||
sourceCompatibility = jdkVersion | ||
targetCompatibility = jdkVersion | ||
} | ||
|
||
tasks.withType(Test) { | ||
jvmArgs ([ | ||
'--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', | ||
]) | ||
} |
11 changes: 11 additions & 0 deletions
11
buildSrc/src/main/groovy/io.nextflow.groovy-library-conventions.gradle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
/* | ||
* This file was generated by the Gradle 'init' task. | ||
*/ | ||
|
||
plugins { | ||
// Apply the common convention plugin for shared build configuration between library and application projects. | ||
id 'io.nextflow.groovy-common-conventions' | ||
// Apply the java-library plugin for API and implementation separation. | ||
id 'java-library' | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
nextflowVersion = 24.10.0 | ||
groovyVersion = 4.0.23 | ||
groovyV = groovy-4.0 | ||
groovySource = apache | ||
jdkVersion = 11 | ||
javaLangVersion = 21 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.