We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0cf8636 commit 976abd1Copy full SHA for 976abd1
build.gradle
@@ -55,6 +55,16 @@ repositories {
55
url "https://oss.sonatype.org/content/repositories/snapshots"
56
}
57
58
+ /* Allow staging references for last pre-release testing. */
59
+ if (project.properties.containsKey("sonatypeUsername")) {
60
+ maven {
61
+ url "https://oss.sonatype.org/service/local/staging/deploy/maven2"
62
+ credentials {
63
+ username = project.properties["sonatypeUsername"]
64
+ password = project.properties["sonatypePassword"]
65
+ }
66
67
68
69
70
/*
dorelease.sh
@@ -17,5 +17,5 @@
17
# 5. Login as sonatypeUsername
18
# 6. Follow the instructions here: http://central.sonatype.org/pages/releasing-the-deployment.html
19
20
-./gradlew clean test uploadArchives
+./gradlew --refresh-dependencies clean test uploadArchives
21
0 commit comments