Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import org.jreleaser.model.Active

plugins {
base
id("org.jreleaser") version "1.9.0"
id("org.jreleaser") version "1.17.0"
}

val pluginVersion = project.file("VERSION").readText().replace(System.lineSeparator(), "")
Expand Down Expand Up @@ -61,13 +61,10 @@ jreleaser {
// https://jreleaser.org/guide/latest/examples/maven/maven-central.html#_gradle
deploy {
maven {
nexus2 {
mavenCentral {
create("maven-central") {
active = Active.ALWAYS
url = "https://aws.oss.sonatype.org/service/local"
snapshotUrl = "https://aws.oss.sonatype.org/content/repositories/snapshots"
closeRepository.set(true)
releaseRepository.set(true)
url = "https://central.sonatype.com/api/v1/publisher"
stagingRepositories.add("${rootProject.buildDir}/staging")
}
}
Expand Down
2 changes: 1 addition & 1 deletion buildSrc/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ dependencies {
implementation("com.adarshr:gradle-test-logger-plugin:4.0.0")

// Plugin convention dependencies
implementation("com.gradle.publish:plugin-publish-plugin:1.2.1")
implementation("com.gradle.publish:plugin-publish-plugin:1.3.1")
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ plugins {
jacoco
id("com.adarshr.test-logger")
id("com.github.spotbugs")
signing
}

/*
Expand Down Expand Up @@ -63,23 +62,6 @@ publishing {
}
}

signing {
setRequired {
// signing is required only if the artifacts are to be published to a maven repository
gradle.taskGraph.allTasks.any { it is PublishToMavenRepository }
}

// Don't sign the artifacts if we didn't get a key and password to use.
if (project.hasProperty("signingKey") && project.hasProperty("signingPassword")) {
signing {
useInMemoryPgpKeys(
project.properties["signingKey"].toString(),
project.properties["signingPassword"].toString())
sign(publishing.publications)
}
}
}

/*
* Unit tests
* ====================================================
Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
4 changes: 3 additions & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.2-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
41 changes: 26 additions & 15 deletions gradlew

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

27 changes: 15 additions & 12 deletions gradlew.bat

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.