|
@ -54,12 +54,6 @@ dependencies { |
|
|
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'// JUnit 平台运行时,用于在测试时启动 JUnit Platform(例如在 IDE 或构建工具中运行测试) |
|
|
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'// JUnit 平台运行时,用于在测试时启动 JUnit Platform(例如在 IDE 或构建工具中运行测试) |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
bootJar { |
|
|
|
|
|
launchScript { |
|
|
|
|
|
properties 'spring.profiles.active': 'prod' |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
tasks.named('test') { |
|
|
tasks.named('test') { |
|
|
useJUnitPlatform() |
|
|
useJUnitPlatform() |
|
|
} |
|
|
} |