Skip to content

Commit f42c459

Browse files
committed
Add junit-platform-launcher to test runtime
This is fix the following warning about using deprecated Gradle features: The automatic loading of test framework implementation dependencies has been deprecated. This is scheduled to be removed in Gradle 9.0. Declare the desired test framework directly on the test suite or explicitly declare the test framework implementation dependencies on the test's runtime classpath. Consult the upgrading guide for further information: https://docs.gradle.org/8.7/userguide/upgrading_version_8.html#test_framework_implementation_dependencies
1 parent 7edff84 commit f42c459

File tree

132 files changed

+264
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

132 files changed

+264
-0
lines changed

exercises/concept/calculator-conundrum/build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ dependencies {
1010
testImplementation platform("org.junit:junit-bom:5.10.0")
1111
testImplementation "org.junit.jupiter:junit-jupiter"
1212
testImplementation "org.assertj:assertj-core:3.25.1"
13+
14+
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
1315
}
1416

1517
test {

exercises/concept/football-match-reports/build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ dependencies {
1010
testImplementation platform("org.junit:junit-bom:5.10.0")
1111
testImplementation "org.junit.jupiter:junit-jupiter"
1212
testImplementation "org.assertj:assertj-core:3.25.1"
13+
14+
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
1315
}
1416

1517
test {

exercises/concept/gotta-snatch-em-all/build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ dependencies {
1010
testImplementation platform("org.junit:junit-bom:5.10.0")
1111
testImplementation "org.junit.jupiter:junit-jupiter"
1212
testImplementation "org.assertj:assertj-core:3.25.1"
13+
14+
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
1315
}
1416

1517
test {

exercises/concept/lasagna/build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ dependencies {
1010
testImplementation platform("org.junit:junit-bom:5.10.0")
1111
testImplementation "org.junit.jupiter:junit-jupiter"
1212
testImplementation "org.assertj:assertj-core:3.25.1"
13+
14+
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
1315
}
1416

1517
test {

exercises/concept/secrets/build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ dependencies {
1010
testImplementation platform("org.junit:junit-bom:5.10.0")
1111
testImplementation "org.junit.jupiter:junit-jupiter"
1212
testImplementation "org.assertj:assertj-core:3.25.1"
13+
14+
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
1315
}
1416

1517
test {

exercises/concept/tim-from-marketing/build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ dependencies {
1010
testImplementation platform("org.junit:junit-bom:5.10.0")
1111
testImplementation "org.junit.jupiter:junit-jupiter"
1212
testImplementation "org.assertj:assertj-core:3.25.1"
13+
14+
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
1315
}
1416

1517
test {

exercises/concept/wizards-and-warriors-2/build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ dependencies {
1010
testImplementation platform("org.junit:junit-bom:5.10.0")
1111
testImplementation "org.junit.jupiter:junit-jupiter"
1212
testImplementation "org.assertj:assertj-core:3.25.1"
13+
14+
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
1315
}
1416

1517
test {

exercises/concept/wizards-and-warriors/build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ dependencies {
1010
testImplementation platform("org.junit:junit-bom:5.10.0")
1111
testImplementation "org.junit.jupiter:junit-jupiter"
1212
testImplementation "org.assertj:assertj-core:3.25.1"
13+
14+
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
1315
}
1416

1517
test {

exercises/practice/acronym/build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ dependencies {
1010
testImplementation platform("org.junit:junit-bom:5.10.0")
1111
testImplementation "org.junit.jupiter:junit-jupiter"
1212
testImplementation "org.assertj:assertj-core:3.25.1"
13+
14+
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
1315
}
1416

1517
test {

exercises/practice/affine-cipher/build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ dependencies {
1010
testImplementation platform("org.junit:junit-bom:5.10.0")
1111
testImplementation "org.junit.jupiter:junit-jupiter"
1212
testImplementation "org.assertj:assertj-core:3.25.1"
13+
14+
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
1315
}
1416

1517
test {

0 commit comments

Comments
 (0)