aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle6
1 files changed, 5 insertions, 1 deletions
diff --git a/build.gradle b/build.gradle
index 39b0f65..4ee6ca3 100644
--- a/build.gradle
+++ b/build.gradle
@@ -34,12 +34,16 @@ tasks.named("githubRelease") {
githubToken = System.getenv("GITHUB_TOKEN")
newTagRevision = System.getenv("GITHUB_SHA")
releaseTag = project.version
+ releaseName = project.version
}
nexusPublishing {
repositories {
if (System.getenv("NEXUS_TOKEN_PWD")) {
- sonatype {
+ sonatype { // Publishing to: https://s01.oss.sonatype.org (faster instance)
+ nexusUrl = uri("https://s01.oss.sonatype.org/service/local/")
+ snapshotRepositoryUrl = uri("https://s01.oss.sonatype.org/content/repositories/snapshots/")
+
username = System.getenv("NEXUS_TOKEN_USER")
password = System.getenv("NEXUS_TOKEN_PWD")
}