mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Update `build.gradle` files to ensure that `junit-platform-launcher` is a `testRuntimeOnly` dependency. This ensures that tests can be run from Eclipse. Closes gh-25074
19 lines
550 B
Groovy
19 lines
550 B
Groovy
plugins {
|
|
id "java"
|
|
id "org.springframework.boot.conventions"
|
|
}
|
|
|
|
description = "Spring Boot Simple smoke test"
|
|
|
|
dependencies {
|
|
implementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter"))
|
|
implementation("jakarta.validation:jakarta.validation-api")
|
|
implementation("org.hibernate.validator:hibernate-validator") {
|
|
exclude group: "javax.validation"
|
|
}
|
|
|
|
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
|
|
|
|
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
|
|
}
|