Skip to content

Commit 3db253a

Browse files
benjderobluca
authored andcommitted
Problem: Java build fail with Gradle > 8.4
Solution: Use up to date tools and default XML lib by excluding Xerces
1 parent ed9b6ae commit 3db253a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

zproject_java.gsl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -131,15 +131,16 @@ buildscript {
131131
resolutionStrategy {
132132
force 'org.codehaus.groovy.modules.http-builder:http-builder:0.7.1'
133133
}
134+
exclude group: 'xerces', module: 'xercesImpl'
134135
}
135136
}
136137

137138
plugins {
138139
id 'java'
139140
id 'maven-publish'
140-
id 'com.jfrog.artifactory' version '4.29.4'
141+
id 'com.jfrog.artifactory' version '5.2.3'
141142
id 'com.jfrog.bintray' version '1.8.5'
142-
id 'com.google.osdetector' version '1.7.0'
143+
id 'com.google.osdetector' version '1.7.3'
143144
}
144145

145146
wrapper.gradleVersion = '8.9'
@@ -176,7 +177,6 @@ artifactory {
176177
repoKey = 'oss-snapshot-local'
177178
username = System.getenv('ARTIFACTORY_USERNAME')
178179
password = System.getenv('ARTIFACTORY_PASSWORD')
179-
maven = true
180180
}
181181
}
182182
}
@@ -199,9 +199,9 @@ dependencies {
199199
implementation "org.zeromq.$(use.project):$(use.project)-jni:$jni_dependencies_version"
200200
. endif
201201
. endfor
202-
implementation 'org.scijava:native-lib-loader:2.4.0'
203-
testImplementation 'junit:junit:4.12'
204-
testImplementation 'org.hamcrest:hamcrest-all:1.3'
202+
implementation 'org.scijava:native-lib-loader:2.5.0'
203+
testImplementation 'junit:junit:4.13.2'
204+
testImplementation 'org.hamcrest:hamcrest:2.2'
205205
}
206206

207207
// ------------------------------------------------------------------

0 commit comments

Comments
 (0)