File tree 2 files changed +2
-12
lines changed
2 files changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ plugins {
18
18
id ' org.ajoberstar.git-publish' version ' 1.0.1' apply false
19
19
id ' org.jetbrains.kotlin.jvm' version ' 1.2.61' apply false
20
20
id ' com.github.johnrengelman.shadow' version ' 2.0.4' apply false
21
+ id ' de.marcphilipp.nexus-publish' version ' 0.1.0' apply false
21
22
}
22
23
23
24
buildScan {
Original file line number Diff line number Diff line change 1
- apply plugin : ' maven -publish'
1
+ apply plugin : ' de.marcphilipp.nexus -publish'
2
2
apply plugin : ' signing'
3
3
4
4
def isSnapshot = project. version. contains(' SNAPSHOT' )
@@ -70,15 +70,4 @@ publishing {
70
70
}
71
71
}
72
72
}
73
- repositories {
74
- maven {
75
- def stagingRepoUrl = ' https://oss.sonatype.org/service/local/staging/deploy/maven2/'
76
- def snapshotRepoUrl = ' https://oss.sonatype.org/content/repositories/snapshots/'
77
- url isSnapshot ? snapshotRepoUrl : stagingRepoUrl
78
- credentials {
79
- username = rootProject. findProperty(' ossrhUsername' ) ?: ' '
80
- password = rootProject. findProperty(' ossrhPassword' ) ?: ' '
81
- }
82
- }
83
- }
84
73
}
You can’t perform that action at this time.
0 commit comments