Spring Boot 3.5 updated JUnit Jupiter from v5.11 to v5.12. With this new version, the junit-platform-launcher dependency must be declared explicitly.
26 lines
870 B
Groovy
26 lines
870 B
Groovy
plugins {
|
|
id 'org.springframework.shell.sample'
|
|
id 'org.springframework.shell.toolchain'
|
|
}
|
|
|
|
description = 'Spring Shell Sample FFM'
|
|
|
|
tasks.named("bootJar") {
|
|
manifest {
|
|
attributes 'Enable-Native-Access': 'ALL-UNNAMED'
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
management platform(project(":spring-shell-management"))
|
|
implementation project(':spring-shell-starters:spring-shell-starter-ffm')
|
|
testImplementation project(':spring-shell-starters:spring-shell-starter-test')
|
|
testImplementation('org.springframework.boot:spring-boot-test')
|
|
testImplementation('org.junit.jupiter:junit-jupiter-engine')
|
|
testImplementation('org.junit.jupiter:junit-jupiter-params')
|
|
testImplementation('org.junit.platform:junit-platform-launcher')
|
|
testImplementation("org.mockito:mockito-junit-jupiter")
|
|
testImplementation('org.assertj:assertj-core')
|
|
testImplementation 'org.awaitility:awaitility'
|
|
}
|