Skip to content

Commit

Permalink
Stop using deprecated Gradle syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
gbrail committed Feb 2, 2025
1 parent f4d5e13 commit 1ad83e8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions buildSrc/src/main/groovy/rhino.library-conventions.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ tasks.withType(JavaCompile).configureEach {
}

tasks.withType(Javadoc) {
failOnError false
failOnError = false
options.addStringOption('Xdoclint:none', '-quiet')
}

Expand Down Expand Up @@ -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
}
}
}
Expand All @@ -133,7 +133,7 @@ publishing {
username = System.getenv("GITHUB_ACTOR")
password = System.getenv("GITHUB_TOKEN")
}
url githubPackagesRepo
url = githubPackagesRepo
}
}
}
Expand Down

0 comments on commit 1ad83e8

Please sign in to comment.