Skip to content

Commit

Permalink
Update build scripts to avoid deprecation warnings with Gradle 8
Browse files Browse the repository at this point in the history
Closes gh-18
  • Loading branch information
rainboyan committed Jan 5, 2025
1 parent edb00d4 commit 9800d0b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ ext."signing.password" = project.hasProperty("signing.password") ? project.getPr
ext."signing.secretKeyRingFile" = project.hasProperty("signing.secretKeyRingFile") ? project.getProperty('signing.secretKeyRingFile') : ("${System.properties['user.home']}${File.separator}.gnupg${File.separator}secring.gpg")
ext.isReleaseVersion = !projectVersion.endsWith("SNAPSHOT")

version project.projectVersion
group "org.graceframework.plugins"
version = project.projectVersion
group = "org.graceframework.plugins"

apply plugin: "eclipse"
apply plugin: "idea"
Expand Down Expand Up @@ -153,7 +153,7 @@ nexusPublishing {

afterEvaluate {
signing {
required { isReleaseVersion && gradle.taskGraph.hasTask("publish") }
required = isReleaseVersion && gradle.taskGraph.hasTask("publish")
sign publishing.publications.maven
}
}

0 comments on commit 9800d0b

Please sign in to comment.