We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 506d4c9 commit 98260afCopy full SHA for 98260af
2 files changed
build.gradle
@@ -54,6 +54,16 @@ repositories {
54
url "https://oss.sonatype.org/content/repositories/snapshots"
55
}
56
57
+ /* Allow staging references for last pre-release testing. */
58
+ if (project.properties.containsKey("sonatypeUsername")) {
59
+ maven {
60
+ url "https://oss.sonatype.org/service/local/staging/deploy/maven2"
61
+ credentials {
62
+ username = project.properties["sonatypeUsername"]
63
+ password = project.properties["sonatypePassword"]
64
+ }
65
66
67
68
69
/*
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