File tree 2 files changed +11
-1
lines changed
2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -54,6 +54,16 @@ repositories {
54
54
url " https://oss.sonatype.org/content/repositories/snapshots"
55
55
}
56
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
+ }
57
67
}
58
68
59
69
/*
Original file line number Diff line number Diff line change 17
17
# 5. Login as sonatypeUsername
18
18
# 6. Follow the instructions here: http://central.sonatype.org/pages/releasing-the-deployment.html
19
19
20
- ./gradlew clean test uploadArchives
20
+ ./gradlew --refresh-dependencies clean test uploadArchives
21
21
You can’t perform that action at this time.
0 commit comments