Skip to content

Commit 6c7aeaf

Browse files
author
Szczepan Faber
committed
Enabled automated releases
1 parent ca7c17e commit 6c7aeaf

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

build.gradle

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,16 @@ tasks.named("githubRelease") {
3434
githubToken = System.getenv("GITHUB_TOKEN")
3535
newTagRevision = System.getenv("GITHUB_SHA")
3636
releaseTag = project.version
37+
releaseName = project.version
3738
}
3839

3940
nexusPublishing {
4041
repositories {
4142
if (System.getenv("NEXUS_TOKEN_PWD")) {
42-
sonatype {
43+
sonatype { // Publishing to: https://s01.oss.sonatype.org (faster instance)
44+
nexusUrl = uri("https://s01.oss.sonatype.org/service/local/")
45+
snapshotRepositoryUrl = uri("https://s01.oss.sonatype.org/content/repositories/snapshots/")
46+
4347
username = System.getenv("NEXUS_TOKEN_USER")
4448
password = System.getenv("NEXUS_TOKEN_PWD")
4549
}

0 commit comments

Comments
 (0)