From 1ad83e8ff3138f8985c6561c6e54eafbdd2ccc3b Mon Sep 17 00:00:00 2001 From: Greg Brail Date: Sat, 1 Feb 2025 17:06:43 -0800 Subject: [PATCH] Stop using deprecated Gradle syntax --- .../src/main/groovy/rhino.library-conventions.gradle | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/buildSrc/src/main/groovy/rhino.library-conventions.gradle b/buildSrc/src/main/groovy/rhino.library-conventions.gradle index c8369f213b..e7509b91ae 100644 --- a/buildSrc/src/main/groovy/rhino.library-conventions.gradle +++ b/buildSrc/src/main/groovy/rhino.library-conventions.gradle @@ -68,7 +68,7 @@ tasks.withType(JavaCompile).configureEach { } tasks.withType(Javadoc) { - failOnError false + failOnError = false options.addStringOption('Xdoclint:none', '-quiet') } @@ -116,13 +116,13 @@ publishing { repositories { maven { credentials { - username mavenUser - password mavenPassword + username = mavenUser + password = mavenPassword } if (project.version.endsWith('-SNAPSHOT')) { - url mavenSnapshotRepo + url = mavenSnapshotRepo } else { - url mavenReleaseRepo + url = mavenReleaseRepo } } } @@ -133,7 +133,7 @@ publishing { username = System.getenv("GITHUB_ACTOR") password = System.getenv("GITHUB_TOKEN") } - url githubPackagesRepo + url = githubPackagesRepo } } }