Skip to content

Commit 0cc453c

Browse files
committed
Fix sonatype release
1 parent 2c9ed03 commit 0cc453c

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

build.gradle

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff 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+
1123
allprojects {
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
}

0 commit comments

Comments
 (0)