Skip to content

Commit

Permalink
Fix gradle warnings for gradle 9
Browse files Browse the repository at this point in the history
  • Loading branch information
nicmunroe committed Sep 13, 2024
1 parent e42cd2c commit 8786e32
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
8 changes: 8 additions & 0 deletions backstopper-reusable-tests-junit5/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,15 @@ dependencies {
"org.jetbrains:annotations:$jetbrainsAnnotationsVersion",
)
testImplementation(
"org.junit.jupiter:junit-jupiter-api:$junit5Version",
"org.junit.jupiter:junit-jupiter-engine:$junit5Version",
"org.junit.jupiter:junit-jupiter-params:$junit5Version",
"org.slf4j:slf4j-api:$slf4jVersion",
"ch.qos.logback:logback-classic:$logbackVersion",
)
// Make gradle happy for gradle 9.
// See: https://docs.gradle.org/8.10/userguide/upgrading_version_8.html#test_framework_implementation_dependencies
testRuntimeOnly(
"org.junit.platform:junit-platform-launcher"
)
}
2 changes: 1 addition & 1 deletion samples/sample-spring-boot3-webflux/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ dependencies {

apply plugin: "application"
application {
mainClassName = "com.nike.backstopper.springboot3webfluxsample.Main"
setMainClass("com.nike.backstopper.springboot3webfluxsample.Main")
}

run {
Expand Down
2 changes: 1 addition & 1 deletion samples/sample-spring-boot3-webmvc/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ dependencies {

apply plugin: "application"
application {
mainClassName = "com.nike.backstopper.springboot3webmvcsample.Main"
setMainClass("com.nike.backstopper.springboot3webmvcsample.Main")
}

run {
Expand Down
2 changes: 1 addition & 1 deletion samples/sample-spring-web-mvc/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ dependencies {

apply plugin: "application"
application {
mainClassName = "com.nike.backstopper.springsample.Main"
setMainClass("com.nike.backstopper.springsample.Main")
}

run {
Expand Down

0 comments on commit 8786e32

Please sign in to comment.