File tree Expand file tree Collapse file tree 1 file changed +13
-13
lines changed
Expand file tree Collapse file tree 1 file changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -8,9 +8,21 @@ reckon {
88 snapshotFromProp()
99}
1010
11+ nexusPublishing {
12+ repositories {
13+ sonatype {
14+ nexusUrl. set(uri(" https://s01.oss.sonatype.org/service/local/" ))
15+ snapshotRepositoryUrl. set(uri(" https://s01.oss.sonatype.org/content/repositories/snapshots/" ))
16+
17+ username = project. findProperty(' sonatype_username' )
18+ password = project. findProperty(' sonatype_password' )
19+ }
20+ }
21+ }
22+
1123allprojects {
1224 pluginManager. withPlugin(' maven-publish' ) {
13- apply from : " ${ rootDir} /gradle/publish.gradle"
25+ apply from : " ${ rootDir} /gradle/publish.gradle"
1426 }
1527 pluginManager. withPlugin(' java' ) {
1628 java {
@@ -22,16 +34,4 @@ allprojects {
2234 mavenCentral()
2335 }
2436 }
25- }
26-
27- nexusPublishing {
28- repositories {
29- sonatype {
30- nexusUrl. set(uri(" https://s01.oss.sonatype.org/service/local/" ))
31- snapshotRepositoryUrl. set(uri(" https://s01.oss.sonatype.org/content/repositories/snapshots/" ))
32-
33- username = project. findProperty(' sonatype_username' )
34- password = project. findProperty(' sonatype_password' )
35- }
36- }
3737}
You can’t perform that action at this time.
0 commit comments