Skip to content

Commit

Permalink
Merge branch 'main' into 6.x
Browse files Browse the repository at this point in the history
  • Loading branch information
jmini committed Oct 14, 2024
2 parents b9588e5 + 6610caf commit f9586ab
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@ plugins {
id 'com.diffplug.spotless' version '6.25.0'
id 'signing'
id 'maven-publish'
id 'de.marcphilipp.nexus-publish' version '0.4.0'
id 'net.researchgate.release' version '3.0.2'
id 'io.codearte.nexus-staging' version '0.22.0'
id 'io.github.gradle-nexus.publish-plugin' version '1.3.0'
}

wrapper {
Expand Down Expand Up @@ -64,6 +63,7 @@ spotless {
}

nexusPublishing {
packageGroup = 'org.gitlab4j'
repositories {
sonatype {
nexusUrl.set(uri("https://oss.sonatype.org/service/local/"))
Expand All @@ -73,13 +73,6 @@ nexusPublishing {
}
}

nexusStaging {
serverUrl = "https://oss.sonatype.org/service/local/"
packageGroup = 'org.gitlab4j'
username = project.findProperty('sonatypeUser') ?: ''
password = project.findProperty('sonatypePassword') ?: ''
}

publishing {
publications {
mavenJava(MavenPublication) {
Expand Down Expand Up @@ -124,7 +117,7 @@ publishing {
release {
buildTasks = ['releaseBuild']
git {
requireBranch.set('main')
requireBranch.set('6.x')
}
}

Expand Down

0 comments on commit f9586ab

Please sign in to comment.