Switch to 'mainClass' property of the bootJar Gradle DSL, BootJar Gradle Task.

This commit is contained in:
John Blum
2023-06-09 20:03:45 -07:00
parent 30746074f0
commit 59e4c84ed3
2 changed files with 6 additions and 3 deletions

View File

@@ -30,7 +30,7 @@ dependencies {
mainClassName = 'sample.client.Application'
bootJar {
mainClassName = 'sample.client.Application'
mainClass = 'sample.client.Application'
}
run {

View File

@@ -14,7 +14,10 @@ dependencies {
exclude group: "org.apache.logging.log4j", module: "log4j-to-slf4j"
}
compile "org.springframework.data:spring-data-geode-test"
compile("org.springframework.data:spring-data-geode-test") {
exclude group: "org.springframework.boot", module: "spring-boot-loader-tools"
}
compile "org.webjars:bootstrap"
compile "org.webjars:webjars-locator"
@@ -33,7 +36,7 @@ dependencies {
mainClassName = 'sample.client.Application'
bootJar {
mainClassName = 'sample.client.Application'
mainClass = 'sample.client.Application'
}
run {