Replace the use of the deprecated 'bootJar' Gradle task, 'mainClassName' property with 'mainClass'.
This commit is contained in:
@@ -22,7 +22,7 @@ task runServer(type: JavaExec) {
|
||||
}
|
||||
|
||||
bootJar {
|
||||
mainClassName = 'example.app.temp.geode.client.BootGeodeClientApplication'
|
||||
mainClass = 'example.app.temp.geode.client.BootGeodeClientApplication'
|
||||
}
|
||||
|
||||
bootRun {
|
||||
|
||||
@@ -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'
|
||||
}
|
||||
|
||||
@@ -20,7 +20,7 @@ dependencies {
|
||||
}
|
||||
|
||||
bootJar {
|
||||
mainClassName = 'example.app.caching.session.http.BootGeodeHttpSessionCachingApplication'
|
||||
mainClass = 'example.app.caching.session.http.BootGeodeHttpSessionCachingApplication'
|
||||
}
|
||||
|
||||
bootRun {
|
||||
|
||||
@@ -26,7 +26,7 @@ dependencies {
|
||||
}
|
||||
|
||||
bootJar {
|
||||
mainClassName = 'example.app.caching.inline.BootGeodeAsyncInlineCachingClientApplication'
|
||||
mainClass = 'example.app.caching.inline.BootGeodeAsyncInlineCachingClientApplication'
|
||||
}
|
||||
|
||||
bootRun {
|
||||
|
||||
@@ -23,7 +23,7 @@ dependencies {
|
||||
}
|
||||
|
||||
bootJar {
|
||||
mainClassName = 'example.app.caching.inline.BootGeodeInlineCachingApplication'
|
||||
mainClass = 'example.app.caching.inline.BootGeodeInlineCachingApplication'
|
||||
}
|
||||
|
||||
bootRun {
|
||||
|
||||
@@ -15,7 +15,7 @@ dependencies {
|
||||
}
|
||||
|
||||
bootJar {
|
||||
mainClassName = 'example.app.caching.lookaside.BootGeodeLookAsideCachingApplication'
|
||||
mainClass = 'example.app.caching.lookaside.BootGeodeLookAsideCachingApplication'
|
||||
}
|
||||
|
||||
bootRun {
|
||||
|
||||
@@ -23,5 +23,5 @@ dependencies {
|
||||
}
|
||||
|
||||
bootJar {
|
||||
mainClassName = 'example.app.caching.multisite.client.BootGeodeMultiSiteCachingClientApplication'
|
||||
mainClass = 'example.app.caching.multisite.client.BootGeodeMultiSiteCachingClientApplication'
|
||||
}
|
||||
|
||||
@@ -24,5 +24,5 @@ dependencies {
|
||||
}
|
||||
|
||||
bootJar {
|
||||
mainClassName = 'example.app.caching.near.BootGeodeNearCachingClientCacheApplication'
|
||||
mainClass = 'example.app.caching.near.BootGeodeNearCachingClientCacheApplication'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user