Replace 'main' property with the 'mainClass' property in the Spring Boot 'bootRun' Gradle Task.

This commit is contained in:
John Blum
2022-11-08 13:21:47 -08:00
parent 4112aa99a5
commit 6e8b23f555
5 changed files with 5 additions and 5 deletions

View File

@@ -26,6 +26,6 @@ bootJar {
}
bootRun {
main = 'example.app.temp.geode.client.BootGeodeClientApplication'
mainClass = 'example.app.temp.geode.client.BootGeodeClientApplication'
args "--spring.profiles.active=client"
}

View File

@@ -22,5 +22,5 @@ bootJar {
}
bootRun {
main = 'example.app.caching.session.http.BootGeodeHttpSessionCachingApplication'
mainClass = 'example.app.caching.session.http.BootGeodeHttpSessionCachingApplication'
}

View File

@@ -33,6 +33,6 @@ bootJar {
}
bootRun {
main = 'example.app.caching.inline.async.client.BootGeodeAsyncInlineCachingClientApplication'
mainClass = 'example.app.caching.inline.async.client.BootGeodeAsyncInlineCachingClientApplication'
args "--spring.profiles.active=peer-cache,queue-batch-size,server"
}

View File

@@ -29,5 +29,5 @@ bootJar {
}
bootRun {
main = 'example.app.caching.inline.BootGeodeInlineCachingApplication'
mainClass = 'example.app.caching.inline.BootGeodeInlineCachingApplication'
}

View File

@@ -19,5 +19,5 @@ bootJar {
}
bootRun {
main = 'example.app.caching.lookaside.BootGeodeLookAsideCachingApplication'
mainClass = 'example.app.caching.lookaside.BootGeodeLookAsideCachingApplication'
}