build for Groovy 3.0.17

This commit is contained in:
Jörg Prante 2024-01-07 23:53:28 +01:00
parent 00c93e18f5
commit 55e95251cf
12 changed files with 21 additions and 24 deletions

View file

@ -1,3 +1,5 @@
group = org.xbib.groovy group = org.xbib.groovy
name = groovy-extensions name = groovy-extensions
version = 5.0.0
# version reflects the groovy version plus a patch level version
version = 3.0.17.0

View file

@ -1,8 +1,8 @@
dependencies { dependencies {
testImplementation libs.junit.jupiter.api testImplementation testLibs.junit.jupiter.api
testImplementation libs.junit.jupiter.params testImplementation testLibs.junit.jupiter.params
testImplementation libs.hamcrest testImplementation testLibs.hamcrest
testRuntimeOnly libs.junit.jupiter.engine testRuntimeOnly testLibs.junit.jupiter.engine
} }
test { test {

View file

@ -1 +0,0 @@
version = 5.0.0

View file

@ -1 +0,0 @@
version = 5.0.0

View file

@ -1 +0,0 @@
version = 5.0.0

View file

@ -3,6 +3,6 @@ apply from: rootProject.file('gradle/compile/groovy-dynamic-tests.gradle')
dependencies { dependencies {
api project(':groovy-git-annotations') api project(':groovy-git-annotations')
api libs.jgit api libs.jgit
testImplementation libs.spock.core testImplementation testLibs.spock.core
testImplementation libs.spock.junit4 testImplementation testLibs.spock.junit4
} }

View file

@ -1 +0,0 @@
version = 5.0.0

View file

@ -26,7 +26,7 @@ class TagRemoveOp implements Callable<List<String>> {
List<String> call() { List<String> call() {
DeleteTagCommand cmd = repo.jgit.tagDelete() DeleteTagCommand cmd = repo.jgit.tagDelete()
cmd.tags = names.collect { new ResolveService(repo).toTagName(it) } cmd.tags = names.collect { new ResolveService(repo).toTagName(it) } as String[]
return cmd.call() return cmd.call()
} }

View file

@ -1 +0,0 @@
version = 5.0.0

View file

@ -1 +0,0 @@
version = 5.0.0

View file

@ -1 +0,0 @@
version = 5.0.0

View file

@ -16,21 +16,23 @@ dependencyResolutionManagement {
versionCatalogs { versionCatalogs {
libs { libs {
version('gradle', '8.5') version('gradle', '8.5')
version('groovy', '4.0.17') version('groovy', '3.0.17')
version('spock', '2.3-groovy-4.0') library('groovy-core', 'org.codehaus.groovy', 'groovy').versionRef('groovy')
library('ftp-fs', 'org.xbib', 'ftp-fs').version('2.6.0')
library('files-sftp-fs', 'org.xbib', 'files-sftp-fs').version('4.2.1')
library('jgit', 'org.eclipse.jgit', 'org.eclipse.jgit').version('6.8.0.202311291450-r')
library('mail', 'com.sun.mail', 'javax.mail').version('1.6.2')
}
testLibs {
version('junit', '5.10.1') version('junit', '5.10.1')
library('groovy-core', 'org.apache.groovy', 'groovy').versionRef('groovy') version('spock', '2.3-groovy-3.0')
library('spock-core', 'org.spockframework', 'spock-core').versionRef('spock')
library('spock-junit4', 'org.spockframework', 'spock-junit4').versionRef('spock')
library('junit-jupiter-api', 'org.junit.jupiter', 'junit-jupiter-api').versionRef('junit') library('junit-jupiter-api', 'org.junit.jupiter', 'junit-jupiter-api').versionRef('junit')
library('junit-jupiter-params', 'org.junit.jupiter', 'junit-jupiter-params').versionRef('junit') library('junit-jupiter-params', 'org.junit.jupiter', 'junit-jupiter-params').versionRef('junit')
library('junit-jupiter-engine', 'org.junit.jupiter', 'junit-jupiter-engine').versionRef('junit') library('junit-jupiter-engine', 'org.junit.jupiter', 'junit-jupiter-engine').versionRef('junit')
library('junit4', 'junit', 'junit').version('4.13.2') library('junit4', 'junit', 'junit').version('4.13.2')
library('hamcrest', 'org.hamcrest', 'hamcrest-library').version('2.2') library('hamcrest', 'org.hamcrest', 'hamcrest-library').version('2.2')
library('ftp-fs', 'org.xbib', 'ftp-fs').version('2.6.0') library('spock-core', 'org.spockframework', 'spock-core').versionRef('spock')
library('files-sftp-fs', 'org.xbib', 'files-sftp-fs').version('4.2.1') library('spock-junit4', 'org.spockframework', 'spock-junit4').versionRef('spock')
library('jgit', 'org.eclipse.jgit', 'org.eclipse.jgit').version('6.8.0.202311291450-r')
library('mail', 'com.sun.mail', 'javax.mail').version('1.6.2')
} }
} }
} }