We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99521b7 commit fd04804Copy full SHA for fd04804
build.gradle
@@ -74,6 +74,17 @@ publishing {
74
}
75
76
77
+ repositories {
78
+ maven {
79
+ def releasesRepoUrl = "https://oss.sonatype.org/service/local/staging/deploy/maven2/"
80
+ def snapshotsRepoUrl = "https://oss.sonatype.org/content/repositories/snapshots/"
81
+ url = version.endsWith('SNAPSHOT') ? snapshotsRepoUrl : releasesRepoUrl
82
+ credentials {
83
+ username sonatypeUsername
84
+ password sonatypePassword
85
+ }
86
87
88
89
90
signing {
gradle.properties
@@ -1 +1,3 @@
1
-org.gradle.jvmargs=-Dfile.encoding=UTF-8
+org.gradle.jvmargs=-Dfile.encoding=UTF-8
2
+sonatypeUsername=
3
+sonatypePassword=
0 commit comments