Skip to content

Commit b249b3a

Browse files
authored
Update to Gradle 8.13 and JUnit 5.12.0 (#424)
Signed-off-by: Andriy Redko <[email protected]>
1 parent da586b7 commit b249b3a

File tree

5 files changed

+18
-8
lines changed

5 files changed

+18
-8
lines changed

buildSrc/src/main/kotlin/java-conventions.gradle.kts

+11-2
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ if (!buildVersion.equals(tagVersion)) {
4747

4848
version = buildVersion
4949
java.sourceCompatibility = JavaVersion.VERSION_17
50-
50+
5151
versionCatalogs
5252
.named("libs")
5353
.findLibrary("jupiter")
@@ -56,6 +56,15 @@ versionCatalogs
5656
testImplementation(jupiter)
5757
}
5858
}
59+
60+
versionCatalogs
61+
.named("libs")
62+
.findLibrary("junit-platform-launcher")
63+
.ifPresent { junitPlatformLauncher ->
64+
dependencies {
65+
testRuntimeOnly(junitPlatformLauncher)
66+
}
67+
}
5968

6069
versionCatalogs
6170
.named("libs")
@@ -71,7 +80,7 @@ dependencies {
7180
testImplementation("org.testcontainers:junit-jupiter:1.20.5")
7281
testImplementation("org.mockito:mockito-junit-jupiter:5.15.2")
7382
testImplementation("org.assertj:assertj-core:3.27.3")
74-
testImplementation("ch.qos.logback:logback-classic:1.5.16")
83+
testImplementation("ch.qos.logback:logback-classic:1.5.17")
7584
}
7685

7786
java {

gradle/wrapper/gradle-wrapper.jar

122 Bytes
Binary file not shown.
+2-2
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.12.1-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionSha256Sum=8d97a97984f6cbd2b85fe4c60a743440a347544bf18818048e611f5288d46c94
6+
distributionSha256Sum=20f1b1176237254a6fc204d8434196fa11a4cfb387567519c61556e8710aed78

gradlew

+2-3
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,7 @@ done
8686
# shellcheck disable=SC2034
8787
APP_BASE_NAME=${0##*/}
8888
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
89-
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s
90-
' "$PWD" ) || exit
89+
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit
9190

9291
# Use the maximum available, or set MAX_FD != -1 to use that value.
9392
MAX_FD=maximum
@@ -206,7 +205,7 @@ fi
206205
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
207206

208207
# Collect all arguments for the java command:
209-
# * DEFAULT_JVM_OPTS, JAVA_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
208+
# * DEFAULT_JVM_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
210209
# and any embedded shellness will be escaped.
211210
# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be
212211
# treated as '${Hostname}' itself on the command line.

settings.gradle.kts

+3-1
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,11 @@ rootProject.name = "spring-data-opensearch-parent"
88
dependencyResolutionManagement {
99
versionCatalogs {
1010
create("libs") {
11-
version("jupiter", "5.11.4")
11+
version("jupiter", "5.12.0")
12+
version("launcher", "1.12.0")
1213
library("jupiter", "org.junit.jupiter", "junit-jupiter").versionRef("jupiter")
1314
library("jupiter-params", "org.junit.jupiter", "junit-jupiter-params").versionRef("jupiter")
15+
library("junit-platform-launcher", "org.junit.platform", "junit-platform-launcher").versionRef("launcher")
1416
}
1517

1618
create("springLibs") {

0 commit comments

Comments
 (0)