File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,6 @@ dependencies {
3737testRuntimeOnly(local.junit.platform.launcher)
3838}
3939
40- tasks.withType< Test > {
40+ tasks.test {
4141useJUnitPlatform()
4242}
Original file line number Diff line number Diff line change 1- import org.springframework.boot.gradle.tasks.bundling.BootJar
2- import org.springframework.boot.gradle.tasks.run.BootRun
3-
41plugins {
52 kotlin(" plugin.spring" ) version local.versions.kotlin
63 alias(local.plugins.springboot)
@@ -17,9 +14,9 @@ dependencies {
1714
1815// Disabling bootJar and bootRun is necessary for a subproject/module
1916// that uses the Spring Boot plugin but is not supposed to be executable.
20- tasks.named< BootJar >( " bootJar" ) {
17+ tasks.bootJar {
2118 enabled = false
2219}
23- tasks.named< BootRun >( " bootRun" ) {
20+ tasks.bootRun {
2421 enabled = false
2522}
You can’t perform that action at this time.
0 commit comments