diff --git a/build.gradle.kts b/build.gradle.kts index 96de409..28c2f07 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -199,6 +199,8 @@ nexusPublishing { stagingProfileId.set(System.getenv("SONATYPE_STAGING_PROFILE_ID") ?: findProperty("sonatype.staging.profile.id")) //can reduce execution time by even 10 seconds username.set(System.getenv("SONATYPE_USERNAME") ?: findProperty("sonatype.username")) password.set(System.getenv("SONATYPE_PASSWORD") ?: findProperty("sonatype.password")) + nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/")) + snapshotRepositoryUrl.set(uri("https://central.sonatype.com/repository/maven-snapshots/")) } } }