Skip to content

Commit

Permalink
upgrade junit
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-manes committed Jul 23, 2023
1 parent b7e0ddf commit ee4e8b2
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 7 deletions.
1 change: 1 addition & 0 deletions examples/graal-native/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Graal native image uses ahead-of-time compilation to build an optimized executab

```console
sdk install java 22.3.2.r17-grl
sdk use java 22.3.2.r17-grl
export JAVA_HOME=${SDKMAN_DIR}/candidates/java/current
```

Expand Down
11 changes: 9 additions & 2 deletions examples/graal-native/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,15 @@ tasks.test {
}

graalvmNative {
binaries.all {
resources.autodetect()
binaries {
all {
resources.autodetect()
}
named("test") {
buildArgs.add("--initialize-at-build-time=org.junit.jupiter.engine.config.InstantiatingConfigurationParameterConverter")
buildArgs.add("--initialize-at-build-time=org.junit.platform.launcher.core.LauncherConfig")
buildArgs.add("-H:+ReportExceptionStackTraces")
}
}
toolchainDetection = false
}
Expand Down
2 changes: 1 addition & 1 deletion examples/graal-native/gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[versions]
caffeine = "3.1.6"
graal = "0.9.23"
junit = "5.9.3"
junit = "5.10.0"
truth = "1.1.5"
versions = "0.47.0"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-rc-1-bin.zip
networkTimeout=10000
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
2 changes: 1 addition & 1 deletion examples/hibernate/gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
caffeine = "3.1.6"
h2 = "2.2.220"
hibernate = "6.2.7.Final"
junit = "5.9.3"
junit = "5.10.0"
slf4j = "2.0.7"
truth = "1.1.5"
versions = "0.47.0"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-rc-1-bin.zip
networkTimeout=10000
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ json-bind = "1.0"
jsoup = "1.16.1"
junit-testng = "1.0.4"
junit4 = "4.13.2"
junit5 = "5.10.0-RC2"
junit5 = "5.10.0"
kotlin = "1.9.0"
lincheck = "2.18.1"
mockito = "5.4.0"
Expand Down

0 comments on commit ee4e8b2

Please sign in to comment.