File tree Expand file tree Collapse file tree
ktlint-cli-reporter-baseline
ktlint-cli-reporter-checkstyle
ktlint-cli-reporter-format
ktlint-cli-reporter-plain-summary
ktlint-cli-reporter-plain
ktlint-cli-reporter-sarif Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,7 +30,8 @@ logcaptor = "io.github.hakky54:logcaptor:2.10.2"
3030# environment variable
3131janino = " org.codehaus.janino:janino:3.1.12"
3232# Testing libraries
33- junit5 = " org.junit.jupiter:junit-jupiter:5.11.4"
33+ junit5-jupiter = " org.junit.jupiter:junit-jupiter:5.12.2"
34+ junit5-platform-launcher = " org.junit.platform:junit-platform-launcher:1.12.2"
3435assertj = " org.assertj:assertj-core:3.27.3"
3536sarif4k = " io.github.detekt.sarif4k:sarif4k:0.6.0"
3637jimfs = " com.google.jimfs:jimfs:1.3.0"
Original file line number Diff line number Diff line change @@ -25,4 +25,9 @@ dependencies {
2525 testImplementation(projects.ktlintRulesetStandard)
2626
2727 testImplementation(projects.ktlintTest)
28+
29+ testImplementation(libs.junit5.jupiter)
30+ // Since Gradle 8 the platform launcher needs explicitly be defined as runtime dependency to avoid classpath problems
31+ // https://docs.gradle.org/8.12/userguide/upgrading_version_8.html#test_framework_implementation_dependencies
32+ testRuntimeOnly(libs.junit5.platform.launcher)
2833}
Original file line number Diff line number Diff line change @@ -10,4 +10,9 @@ dependencies {
1010 testImplementation(projects.ktlintTest)
1111 testImplementation(libs.logback)
1212 testImplementation(libs.logcaptor)
13+
14+ testImplementation(libs.junit5.jupiter)
15+ // Since Gradle 8 the platform launcher needs explicitly be defined as runtime dependency to avoid classpath problems
16+ // https://docs.gradle.org/8.12/userguide/upgrading_version_8.html#test_framework_implementation_dependencies
17+ testRuntimeOnly(libs.junit5.platform.launcher)
1318}
Original file line number Diff line number Diff line change @@ -6,4 +6,9 @@ dependencies {
66 implementation(projects.ktlintCliReporterCore)
77
88 testImplementation(projects.ktlintTest)
9+
10+ testImplementation(libs.junit5.jupiter)
11+ // Since Gradle 8 the platform launcher needs explicitly be defined as runtime dependency to avoid classpath problems
12+ // https://docs.gradle.org/8.12/userguide/upgrading_version_8.html#test_framework_implementation_dependencies
13+ testRuntimeOnly(libs.junit5.platform.launcher)
914}
Original file line number Diff line number Diff line change @@ -6,4 +6,9 @@ dependencies {
66 implementation(projects.ktlintCliReporterCore)
77
88 testImplementation(projects.ktlintTest)
9+
10+ testImplementation(libs.junit5.jupiter)
11+ // Since Gradle 8 the platform launcher needs explicitly be defined as runtime dependency to avoid classpath problems
12+ // https://docs.gradle.org/8.12/userguide/upgrading_version_8.html#test_framework_implementation_dependencies
13+ testRuntimeOnly(libs.junit5.platform.launcher)
914}
Original file line number Diff line number Diff line change @@ -6,4 +6,9 @@ dependencies {
66 implementation(projects.ktlintCliReporterCore)
77
88 testImplementation(projects.ktlintTest)
9+
10+ testImplementation(libs.junit5.jupiter)
11+ // Since Gradle 8 the platform launcher needs explicitly be defined as runtime dependency to avoid classpath problems
12+ // https://docs.gradle.org/8.12/userguide/upgrading_version_8.html#test_framework_implementation_dependencies
13+ testRuntimeOnly(libs.junit5.platform.launcher)
914}
Original file line number Diff line number Diff line change @@ -6,4 +6,9 @@ dependencies {
66 implementation(projects.ktlintCliReporterCore)
77
88 testImplementation(projects.ktlintTest)
9+
10+ testImplementation(libs.junit5.jupiter)
11+ // Since Gradle 8 the platform launcher needs explicitly be defined as runtime dependency to avoid classpath problems
12+ // https://docs.gradle.org/8.12/userguide/upgrading_version_8.html#test_framework_implementation_dependencies
13+ testRuntimeOnly(libs.junit5.platform.launcher)
914}
Original file line number Diff line number Diff line change @@ -6,4 +6,9 @@ dependencies {
66 implementation(projects.ktlintCliReporterCore)
77
88 testImplementation(projects.ktlintTest)
9+
10+ testImplementation(libs.junit5.jupiter)
11+ // Since Gradle 8 the platform launcher needs explicitly be defined as runtime dependency to avoid classpath problems
12+ // https://docs.gradle.org/8.12/userguide/upgrading_version_8.html#test_framework_implementation_dependencies
13+ testRuntimeOnly(libs.junit5.platform.launcher)
914}
Original file line number Diff line number Diff line change @@ -6,4 +6,9 @@ dependencies {
66 implementation(projects.ktlintCliReporterCore)
77
88 testImplementation(projects.ktlintTest)
9+
10+ testImplementation(libs.junit5.jupiter)
11+ // Since Gradle 8 the platform launcher needs explicitly be defined as runtime dependency to avoid classpath problems
12+ // https://docs.gradle.org/8.12/userguide/upgrading_version_8.html#test_framework_implementation_dependencies
13+ testRuntimeOnly(libs.junit5.platform.launcher)
914}
Original file line number Diff line number Diff line change @@ -7,4 +7,9 @@ dependencies {
77 implementation(libs.sarif4k)
88
99 testImplementation(projects.ktlintTest)
10+
11+ testImplementation(libs.junit5.jupiter)
12+ // Since Gradle 8 the platform launcher needs explicitly be defined as runtime dependency to avoid classpath problems
13+ // https://docs.gradle.org/8.12/userguide/upgrading_version_8.html#test_framework_implementation_dependencies
14+ testRuntimeOnly(libs.junit5.platform.launcher)
1015}
You can’t perform that action at this time.
0 commit comments