Skip to content

Commit 6f6782f

Browse files
committed
junit 5.12.2 with junit-platform-launcher
1 parent b5592b3 commit 6f6782f

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

build.gradle

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,20 @@ sourceCompatibility = JavaVersion.VERSION_1_8
1212
targetCompatibility = JavaVersion.VERSION_1_8
1313

1414
dependencies {
15-
//implementation "org.slf4j:slf4j-api:${slf4jVersion}"
15+
1616
implementation "org.apache.httpcomponents.client5:httpclient5:${httpClientVersion}"
1717
implementation "com.fasterxml.jackson.core:jackson-databind:${jacksonVersion}"
1818
implementation "com.fasterxml.jackson.core:jackson-core:${jacksonVersion}"
1919
implementation "com.fasterxml.jackson.core:jackson-annotations:${jacksonVersion}"
2020

2121
// Tests
22-
testImplementation(platform("org.junit:junit-bom:${junitVersion}"))
23-
testImplementation("org.junit.jupiter:junit-jupiter:${junitVersion}")
22+
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
23+
24+
testImplementation platform("org.junit:junit-bom:${junitVersion}")
25+
testImplementation "org.junit.jupiter:junit-jupiter:${junitVersion}"
26+
2427
// https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-slf4j2-impl
25-
testImplementation group: 'org.apache.logging.log4j', name: 'log4j-slf4j2-impl', version: '2.22.1'
28+
testImplementation group: 'org.apache.logging.log4j', name: 'log4j-slf4j2-impl', version: "${slf4j2Version}"
2629
}
2730

2831
java {

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ group=com.opencagedata
22
artifactId=jopencage
33
version=3.0.0-SNAPSHOT
44

5-
# slf4jVersion=1.7.32
65
httpClientVersion=5.5
76
jacksonVersion=2.19.0
87

9-
junitVersion=5.11.4
8+
junitVersion=5.12.2
9+
slf4j2Version=2.22.1

0 commit comments

Comments
 (0)