Skip to content

Commit

Permalink
gpg works better
Browse files Browse the repository at this point in the history
  • Loading branch information
wsargent committed Dec 4, 2024
1 parent ae547cc commit 3b959ae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion debugjsse/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ extra["isReleaseVersion"] = !version.toString().endsWith("SNAPSHOT")

signing { // https://docs.gradle.org/current/userguide/signing_plugin.html
setRequired({
(project.extra["isReleaseVersion"] as Boolean) && gradle.taskGraph.hasTask("publish")
(project.extra["isReleaseVersion"] as Boolean) // && gradle.taskGraph.hasTask("publishToSonatype")
})
useGpgCmd()
sign(publishing.publications["mavenJava"])
}
2 changes: 1 addition & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ plugins {
id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0"
}

rootProject.name = "debugjsse-project"
rootProject.name = "debugjsse"
include("debugjsse")

0 comments on commit 3b959ae

Please sign in to comment.