Skip to content

Commit b2d4911

Browse files
authored
Upgrade Gradle
Upgrade Gradle to 8.12.1 and enable the "configuration cache" which is supposed to be stable now.
1 parent ef6450b commit b2d4911

6 files changed

Lines changed: 27 additions & 25 deletions

File tree

buildSrc/src/main/groovy/rhino.library-conventions.gradle

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ tasks.withType(JavaCompile).configureEach {
6868
}
6969

7070
tasks.withType(Javadoc) {
71-
failOnError false
71+
failOnError = false
7272
options.addStringOption('Xdoclint:none', '-quiet')
7373
}
7474

@@ -116,13 +116,13 @@ publishing {
116116
repositories {
117117
maven {
118118
credentials {
119-
username mavenUser
120-
password mavenPassword
119+
username = mavenUser
120+
password = mavenPassword
121121
}
122122
if (project.version.endsWith('-SNAPSHOT')) {
123-
url mavenSnapshotRepo
123+
url = mavenSnapshotRepo
124124
} else {
125-
url mavenReleaseRepo
125+
url = mavenReleaseRepo
126126
}
127127
}
128128
}
@@ -133,7 +133,7 @@ publishing {
133133
username = System.getenv("GITHUB_ACTOR")
134134
password = System.getenv("GITHUB_TOKEN")
135135
}
136-
url githubPackagesRepo
136+
url = githubPackagesRepo
137137
}
138138
}
139139
}

gradle.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ mavenSnapshotRepo=https://oss.sonatype.org/content/repositories/snapshots
66
githubPackagesRepo=https://maven.pkg.github.com/mozilla/rhino
77
org.gradle.caching=true
88
org.gradle.parallel=true
9+
org.gradle.configuration-cache=true

gradle/wrapper/gradle-wrapper.jar

-19.5 KB
Binary file not shown.

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12.1-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

gradlew

Lines changed: 9 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gradlew.bat

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)