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 629eab4 commit b0216d4Copy full SHA for b0216d4
build.gradle
@@ -80,10 +80,12 @@ subprojects {
80
}
81
repositories {
82
maven {
83
- // change URLs to point to your repos, e.g. http://my.org/repo
84
- def releasesRepoUrl = layout.buildDirectory.dir('repos/releases')
85
- def snapshotsRepoUrl = layout.buildDirectory.dir('repos/snapshots')
86
- url = version.endsWith('SNAPSHOT') ? snapshotsRepoUrl : releasesRepoUrl
+ url = 'https://oss.sonatype.org/service/local/staging/deploy/maven2/'
+ allowInsecureProtocol = true
+ credentials {
+ username ossrhUsername
87
+ password ossrhPassword
88
+ }
89
90
91
@@ -110,4 +112,4 @@ subprojects {
110
112
111
113
114
apply plugin: 'com.github.ben-manes.versions'
-}
115
+}
0 commit comments