Skip to content

Commit f053925

Browse files
committed
Update build scripts to avoid deprecation warnings with Gradle 8
Closes gh-38
1 parent d52b4dd commit f053925

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ ext."signing.password" = project.hasProperty("signing.password") ? project.getPr
1515
ext."signing.secretKeyRingFile" = project.hasProperty("signing.secretKeyRingFile") ? project.getProperty('signing.secretKeyRingFile') : ("${System.properties['user.home']}${File.separator}.gnupg${File.separator}secring.gpg")
1616
ext.isReleaseVersion = !projectVersion.endsWith("SNAPSHOT")
1717

18-
version project.projectVersion
19-
group "org.graceframework.plugins"
18+
version = project.projectVersion
19+
group = "org.graceframework.plugins"
2020

2121
apply plugin: "eclipse"
2222
apply plugin: "idea"
@@ -181,7 +181,7 @@ nexusPublishing {
181181

182182
afterEvaluate {
183183
signing {
184-
required { isReleaseVersion && gradle.taskGraph.hasTask("publish") }
184+
required = isReleaseVersion && gradle.taskGraph.hasTask("publish")
185185
sign publishing.publications.maven
186186
}
187187
}

0 commit comments

Comments
 (0)