Skip to content

Commit

Permalink
Problem: Java build fail with Gradle > 8.4
Browse files Browse the repository at this point in the history
Solution: Use up to date tools and default XML lib by excluding Xerces
  • Loading branch information
benjdero authored and bluca committed Aug 2, 2024
1 parent ed9b6ae commit 3db253a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions zproject_java.gsl
Original file line number Diff line number Diff line change
Expand Up @@ -131,15 +131,16 @@ buildscript {
resolutionStrategy {
force 'org.codehaus.groovy.modules.http-builder:http-builder:0.7.1'
}
exclude group: 'xerces', module: 'xercesImpl'
}
}

plugins {
id 'java'
id 'maven-publish'
id 'com.jfrog.artifactory' version '4.29.4'
id 'com.jfrog.artifactory' version '5.2.3'
id 'com.jfrog.bintray' version '1.8.5'
id 'com.google.osdetector' version '1.7.0'
id 'com.google.osdetector' version '1.7.3'
}

wrapper.gradleVersion = '8.9'
Expand Down Expand Up @@ -176,7 +177,6 @@ artifactory {
repoKey = 'oss-snapshot-local'
username = System.getenv('ARTIFACTORY_USERNAME')
password = System.getenv('ARTIFACTORY_PASSWORD')
maven = true
}
}
}
Expand All @@ -199,9 +199,9 @@ dependencies {
implementation "org.zeromq.$(use.project):$(use.project)-jni:$jni_dependencies_version"
. endif
. endfor
implementation 'org.scijava:native-lib-loader:2.4.0'
testImplementation 'junit:junit:4.12'
testImplementation 'org.hamcrest:hamcrest-all:1.3'
implementation 'org.scijava:native-lib-loader:2.5.0'
testImplementation 'junit:junit:4.13.2'
testImplementation 'org.hamcrest:hamcrest:2.2'
}

// ------------------------------------------------------------------
Expand Down

0 comments on commit 3db253a

Please sign in to comment.