Skip to content

Commit cf58fc2

Browse files
committed
Update build scripts to avoid deprecation warnings with Gradle 8
Closes gh-35
1 parent 3432730 commit cf58fc2

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

build.gradle

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ buildscript {
33
mavenCentral()
44
gradlePluginPortal()
55
if (project.projectVersion.endsWith('-SNAPSHOT')) {
6-
maven { url "https://s01.oss.sonatype.org/content/repositories/snapshots/" }
6+
maven {
7+
url = "https://s01.oss.sonatype.org/content/repositories/snapshots/"
8+
}
79
}
810
}
911
dependencies {
@@ -29,7 +31,9 @@ allprojects {
2931
repositories {
3032
mavenCentral()
3133
if (project.projectVersion.endsWith('-SNAPSHOT')) {
32-
maven { url "https://s01.oss.sonatype.org/content/repositories/snapshots/" }
34+
maven {
35+
url = "https://s01.oss.sonatype.org/content/repositories/snapshots/"
36+
}
3337
}
3438
}
3539
}
@@ -175,7 +179,7 @@ subprojects {
175179

176180
afterEvaluate {
177181
signing {
178-
required { isReleaseVersion && gradle.taskGraph.hasTask("publish") }
182+
required = isReleaseVersion && gradle.taskGraph.hasTask("publish")
179183
sign publishing.publications.maven
180184
}
181185
}

0 commit comments

Comments
 (0)