add junit platform launcher

This commit is contained in:
Jörg Prante 2023-10-01 08:07:59 +02:00
parent 812f8adb56
commit 4a40104cf6
2 changed files with 3 additions and 2 deletions

View file

@ -2,6 +2,7 @@ dependencies {
testImplementation libs.junit.jupiter.api testImplementation libs.junit.jupiter.api
testImplementation libs.hamcrest testImplementation libs.hamcrest
testRuntimeOnly libs.junit.jupiter.engine testRuntimeOnly libs.junit.jupiter.engine
testRuntimeOnly libs.junit.jupiter.platform.launcher
} }
test { test {
@ -19,7 +20,6 @@ test {
'--add-opens=java.base/java.nio=ALL-UNNAMED', '--add-opens=java.base/java.nio=ALL-UNNAMED',
'--add-opens=java.base/java.util=ALL-UNNAMED' '--add-opens=java.base/java.util=ALL-UNNAMED'
systemProperty 'java.util.logging.config.file', 'src/test/resources/logging.properties' systemProperty 'java.util.logging.config.file', 'src/test/resources/logging.properties'
systemProperty 'io.netty.tryReflectionSetAccessible', 'true'
testLogging { testLogging {
events 'STARTED', 'PASSED', 'FAILED', 'SKIPPED' events 'STARTED', 'PASSED', 'FAILED', 'SKIPPED'
} }

View file

@ -20,11 +20,12 @@ dependencyResolutionManagement {
library('junit-jupiter-api', 'org.junit.jupiter', 'junit-jupiter-api').versionRef('junit') 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-params', 'org.junit.jupiter', 'junit-jupiter-params').versionRef('junit')
library('junit-jupiter-engine', 'org.junit.jupiter', 'junit-jupiter-engine').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('hamcrest', 'org.hamcrest', 'hamcrest-library').version('2.2')
library('bouncycastle', 'org.bouncycastle', 'bcpkix-jdk18on').version('1.76') library('bouncycastle', 'org.bouncycastle', 'bcpkix-jdk18on').version('1.76')
library('jackson', 'com.fasterxml.jackson.core', 'jackson-databind').version('2.15.2') library('jackson', 'com.fasterxml.jackson.core', 'jackson-databind').version('2.15.2')
library('jna', 'net.java.dev.jna', 'jna').version('5.13.0') 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')
} }
} }
} }