diff --git a/build.gradle b/build.gradle index 8ac1e3cf..66a30e19 100644 --- a/build.gradle +++ b/build.gradle @@ -13,7 +13,7 @@ plugins { // Publishing of JAR to Nexus instances (e.g., OSSRH) // https://github.com/gradle-nexus/publish-plugin id "io.github.gradle-nexus.publish-plugin" version "2.0.0" - id "io.freefair.maven-publish-java" version "9.0.0" + id "io.freefair.maven-publish-java" version "9.1.0" } group = 'edu.kit.datamanager' @@ -58,7 +58,7 @@ dependencies { // read from and write to zip files implementation group: 'net.lingala.zip4j', name: 'zip4j', version: '2.11.5' // compare json documents in tests - implementation 'com.github.fslev:json-compare:7.1' + implementation 'com.github.fslev:json-compare:7.2' // url validator implementation group: 'commons-validator', name: 'commons-validator', version: '1.10.0' // logging diff --git a/gradle/profile-release.gradle b/gradle/profile-release.gradle index 471eedc8..b9a0d003 100644 --- a/gradle/profile-release.gradle +++ b/gradle/profile-release.gradle @@ -49,15 +49,11 @@ javadoc { //see https://github.com/gradle-nexus/publish-plugin nexusPublishing { repositories { - //select sonatype repository as publication destination - //uses pre-configured URLs, e.g. https://oss.sonatype.org/ - sonatype() - //for alternate publication desination define nexusUrl and snapshotRepositoryUrl - //also relevant for users registered in Sonatype after 24 Feb 2021 - //sonatype { - // nexusUrl.set(uri("https://s01.oss.sonatype.org/service/local/")) - // snapshotRepositoryUrl.set(uri("https://s01.oss.sonatype.org/content/repositories/snapshots/")) - //} + //select sonatype repository as publication destination + sonatype { + nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/")) + snapshotRepositoryUrl.set(uri("https://central.sonatype.com/repository/maven-snapshots/")) + } } }