Skip to content

Commit 973d83d

Browse files
committed
Upgrade to Gradle 7.5.1
1 parent b38e966 commit 973d83d

9 files changed

Lines changed: 169 additions & 129 deletions

File tree

build-logic/src/main/java/org/ehcache/build/conventions/JavaConvention.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ public void apply(Project project) {
2626

2727
project.getConfigurations().all(config -> {
2828
config.getResolutionStrategy().dependencySubstitution(subs -> {
29-
subs.substitute(subs.module("org.hamcrest:hamcrest-core:1.3")).with(subs.module("org.hamcrest:hamcrest-core:" + project.property("hamcrestVersion")));
30-
subs.substitute(subs.module("org.hamcrest:hamcrest-library:1.3")).with(subs.module("org.hamcrest:hamcrest-library:" + project.property("hamcrestVersion")));
29+
subs.substitute(subs.module("org.hamcrest:hamcrest-core:1.3")).using(subs.module("org.hamcrest:hamcrest-core:" + project.property("hamcrestVersion")));
30+
subs.substitute(subs.module("org.hamcrest:hamcrest-library:1.3")).using(subs.module("org.hamcrest:hamcrest-library:" + project.property("hamcrestVersion")));
3131
});
3232
});
3333
}

ehcache-107/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,14 +98,14 @@ task unpackTckTests(type: Sync) {
9898
from {
9999
configurations.tckTestClasses.collect {zipTree(it)}
100100
}
101-
into sourceSets.tckTest.java.outputDir
101+
into sourceSets.tckTest.java.classesDirectory
102102
}
103103

104104
task tckTest(type: Test, dependsOn: unpackTckTests) {
105105
testClassesDirs = sourceSets.tckTest.output.classesDirs
106106
classpath += sourceSets.tckTest.runtimeClasspath
107107

108-
binResultsDir file("$buildDir/tck-tests-results/binary/$name")
108+
binaryResultsDirectory = file("$buildDir/tck-tests-results/binary/$name")
109109
reports.junitXml.destination = file("$buildDir/tck-tests-results")
110110
reports.html.destination = file("$buildDir/reports/tck-tests")
111111

ehcache-api/config/checkstyle.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
<property name="scope" value="public"/>
4545
</module>
4646
<module name="JavadocMethod">
47-
<property name="scope" value="public"/>
47+
<property name="accessModifiers" value="public"/>
4848
</module>
4949
<module name="JavadocVariable">
5050
<property name="scope" value="public"/>

ehcache-impl/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ task slowTest(type: Test) {
4242
testClassesDirs = sourceSets.slowTest.output.classesDirs
4343
classpath += sourceSets.slowTest.runtimeClasspath
4444

45-
binResultsDir file("$buildDir/slow-tests-results/binary/$name")
45+
binaryResultsDirectory = file("$buildDir/slow-tests-results/binary/$name")
4646
reports.junitXml.destination = file("$buildDir/slow-tests-results")
4747
reports.html.destination = file("$buildDir/reports/slow-tests")
4848
}

gradle/wrapper/gradle-wrapper.jar

834 Bytes
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-all.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-all.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

gradlew

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

0 commit comments

Comments
 (0)