Skip to content

Commit a708ea4

Browse files
committed
Only using xenit-conventions-signing plugin, because xenit-conventions-oss conflicts with xenus-publish-plugin
1 parent 19f9497 commit a708ea4

File tree

3 files changed

+14
-14
lines changed

3 files changed

+14
-14
lines changed

build.gradle

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,6 @@ 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-
2311
allprojects {
2412
pluginManager.withPlugin('maven-publish') {
2513
apply from: "${rootDir}/gradle/publish.gradle"
@@ -34,4 +22,16 @@ allprojects {
3422
mavenCentral()
3523
}
3624
}
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
}

gradle/publish.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
apply plugin: 'maven-publish'
1+
apply plugin: 'eu.xenit.enterprise-conventions.ext.signing'
22
apply plugin: 'signing'
33

44
publishing {

settings.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
plugins {
2-
id "eu.xenit.enterprise-conventions.oss" version "0.2.0"
2+
id "eu.xenit.enterprise-conventions.ext.signing" version "0.2.0" apply false
33
}
44

55
rootProject.name = 'opa-java-client'

0 commit comments

Comments
 (0)