diff --git a/build.gradle b/build.gradle index f799e806..9a418a99 100644 --- a/build.gradle +++ b/build.gradle @@ -15,7 +15,7 @@ buildscript { dependencies { classpath 'com.github.johnrengelman.shadow:com.github.johnrengelman.shadow.gradle.plugin:7.1.2' classpath 'com.github.alisiikh:gradle-scalastyle-plugin:3.4.1' - classpath "io.github.gradle-nexus:publish-plugin:1.0.0" + classpath "io.github.gradle-nexus:publish-plugin:1.1.0" classpath "org.shipkit:shipkit-auto-version:1.1.1" classpath "org.shipkit:shipkit-changelog:1.1.10" } diff --git a/gradle/shipkit.gradle b/gradle/shipkit.gradle index e6ce3a3d..bf10bb86 100644 --- a/gradle/shipkit.gradle +++ b/gradle/shipkit.gradle @@ -25,6 +25,8 @@ nexusPublishing { sonatype { username = System.getenv("SONATYPE_TOKEN_USERNAME") password = System.getenv("SONATYPE_TOKEN_PASSWORD") + nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/")) + snapshotRepositoryUrl.set(uri("https://central.sonatype.com/repository/maven-snapshots/")) } } }