Replace the use of the deprecated 'bootJar' Gradle task, 'mainClassName' property with 'mainClass'.

This commit is contained in:
John Blum
2020-12-08 09:44:19 -08:00
parent f4eec7724d
commit e32fc75643
8 changed files with 9 additions and 9 deletions

View File

@@ -22,7 +22,7 @@ task runServer(type: JavaExec) {
}
bootJar {
mainClassName = 'example.app.temp.geode.client.BootGeodeClientApplication'
mainClass = 'example.app.temp.geode.client.BootGeodeClientApplication'
}
bootRun {

View File

@@ -4,7 +4,7 @@ plugins {
apply plugin: 'io.spring.convention.spring-sample-boot'
description = "Spring Geode Sample demonstrating Apache Geode security."
description = "Spring Geode Sample demonstrating Apache Geode security configured with Spring."
dependencies {
@@ -18,5 +18,5 @@ dependencies {
}
bootJar {
mainClassName = 'example.app.security.client.BootGeodeSecurityClientApplication'
mainClass = 'example.app.security.client.BootGeodeSecurityClientApplication'
}