From 7ae8f14c78e425ecece86a1adfb01f8f285e0dc9 Mon Sep 17 00:00:00 2001 From: Vlado Kragujevski Date: Wed, 23 Oct 2024 10:56:36 +0200 Subject: [PATCH] set sonatype repo --- build.gradle | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 5b3a2699..48ca21a3 100644 --- a/build.gradle +++ b/build.gradle @@ -6,7 +6,7 @@ plugins { ext.projectVersion = '3.0.4' ext.isReleaseVersion = !ext.projectVersion.endsWith('SNAPSHOT') -ext.mavenRepoUrl = 'https://symphony-test.oss.sonatype.org/service/local/staging/deploy/maven2/' +ext.mavenRepoUrl = project.properties['mavenRepoUrl'] ?: 'https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/' ext.mavenRepoUsername = project.properties['mavenRepoUsername'] ?: 'Symphony artifactory user' ext.mavenRepoPassword = project.properties['mavenRepoPassword'] ?: 'Symphony artifactory password' @@ -47,6 +47,8 @@ nexusPublishing { sonatype { username = project.ext.mavenRepoUsername password = project.ext.mavenRepoPassword + nexusUrl.set(uri("https://s01.oss.sonatype.org/service/local/")) + snapshotRepositoryUrl.set(uri("https://s01.oss.sonatype.org/content/repositories/snapshots/")) } } }