Skip to content

Commit

Permalink
set sonatype repo
Browse files Browse the repository at this point in the history
  • Loading branch information
vladokrsymphony committed Oct 23, 2024
1 parent d5896a3 commit 7ae8f14
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down Expand Up @@ -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/"))
}
}
}
Expand Down

0 comments on commit 7ae8f14

Please sign in to comment.