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 @@ -55,6 +55,16 @@ repositories {
55
55
url " https://oss.sonatype.org/content/repositories/snapshots"
56
56
}
57
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
+ }
58
68
}
59
69
60
70
/*
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