Skip to content

Commit dabe43f

Browse files
committed
chore: setting sonatype url from env to allow faster changes
1 parent 257abc4 commit dabe43f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

publish.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ signing {
5151
nexusPublishing {
5252
repositories {
5353
sonatype {
54-
nexusUrl.set(uri('https://s01.oss.sonatype.org/service/local/'))
55-
snapshotRepositoryUrl.set(uri('https://s01.oss.sonatype.org/content/repositories/snapshots/'))
54+
nexusUrl.set(uri(System.getenv('MAVEN_REPO_URL')))
55+
snapshotRepositoryUrl.set(uri(System.getenv('MAVEN_STAGING_URL')))
5656
username.set(System.getenv('MAVEN_USERNAME'))
5757
password.set(System.getenv('MAVEN_PASSWORD'))
5858
}

0 commit comments

Comments
 (0)