From 4a40104cf613dafbaed291d2232a92f40c93a56e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Prante?= Date: Sun, 1 Oct 2023 08:07:59 +0200 Subject: [PATCH] add junit platform launcher --- gradle/test/junit5.gradle | 2 +- settings.gradle | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/gradle/test/junit5.gradle b/gradle/test/junit5.gradle index 158bc99..e884379 100644 --- a/gradle/test/junit5.gradle +++ b/gradle/test/junit5.gradle @@ -2,6 +2,7 @@ dependencies { testImplementation libs.junit.jupiter.api testImplementation libs.hamcrest testRuntimeOnly libs.junit.jupiter.engine + testRuntimeOnly libs.junit.jupiter.platform.launcher } test { @@ -19,7 +20,6 @@ test { '--add-opens=java.base/java.nio=ALL-UNNAMED', '--add-opens=java.base/java.util=ALL-UNNAMED' systemProperty 'java.util.logging.config.file', 'src/test/resources/logging.properties' - systemProperty 'io.netty.tryReflectionSetAccessible', 'true' testLogging { events 'STARTED', 'PASSED', 'FAILED', 'SKIPPED' } diff --git a/settings.gradle b/settings.gradle index 59ce389..380d347 100644 --- a/settings.gradle +++ b/settings.gradle @@ -20,11 +20,12 @@ dependencyResolutionManagement { library('junit-jupiter-api', 'org.junit.jupiter', 'junit-jupiter-api').versionRef('junit') library('junit-jupiter-params', 'org.junit.jupiter', 'junit-jupiter-params').versionRef('junit') library('junit-jupiter-engine', 'org.junit.jupiter', 'junit-jupiter-engine').versionRef('junit') + library('junit-jupiter-platform-launcher', 'org.junit.platform', 'junit-platform-launcher').version('1.10.0') library('hamcrest', 'org.hamcrest', 'hamcrest-library').version('2.2') library('bouncycastle', 'org.bouncycastle', 'bcpkix-jdk18on').version('1.76') library('jackson', 'com.fasterxml.jackson.core', 'jackson-databind').version('2.15.2') library('jna', 'net.java.dev.jna', 'jna').version('5.13.0') - library('datastructures-common', 'org.xbib', 'datastructures-common').version('2.3.1') + library('datastructures-common', 'org.xbib', 'datastructures-common').version('3.0.0') } } }