Skip to content

Commit

Permalink
Only using xenit-conventions-signing plugin, because xenit-convention…
Browse files Browse the repository at this point in the history
…s-oss conflicts with xenus-publish-plugin
  • Loading branch information
tgeens committed Oct 4, 2022
1 parent 19f9497 commit a708ea4
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
24 changes: 12 additions & 12 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,6 @@ reckon {
snapshotFromProp()
}

nexusPublishing {
repositories {
sonatype {
nexusUrl.set(uri("https://s01.oss.sonatype.org/service/local/"))
snapshotRepositoryUrl.set(uri("https://s01.oss.sonatype.org/content/repositories/snapshots/"))

username = project.findProperty('sonatype_username')
password = project.findProperty('sonatype_password')
}
}
}

allprojects {
pluginManager.withPlugin('maven-publish') {
apply from: "${rootDir}/gradle/publish.gradle"
Expand All @@ -34,4 +22,16 @@ allprojects {
mavenCentral()
}
}
}

nexusPublishing {
repositories {
sonatype {
nexusUrl.set(uri("https://s01.oss.sonatype.org/service/local/"))
snapshotRepositoryUrl.set(uri("https://s01.oss.sonatype.org/content/repositories/snapshots/"))

username = project.findProperty('sonatype_username')
password = project.findProperty('sonatype_password')
}
}
}
2 changes: 1 addition & 1 deletion gradle/publish.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apply plugin: 'maven-publish'
apply plugin: 'eu.xenit.enterprise-conventions.ext.signing'
apply plugin: 'signing'

publishing {
Expand Down
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id "eu.xenit.enterprise-conventions.oss" version "0.2.0"
id "eu.xenit.enterprise-conventions.ext.signing" version "0.2.0" apply false
}

rootProject.name = 'opa-java-client'
Expand Down

0 comments on commit a708ea4

Please sign in to comment.