Replace 'main' property with the 'mainClass' property in the Spring Boot 'bootRun' Gradle Task.
This commit is contained in:
@@ -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"
|
||||
}
|
||||
|
||||
@@ -22,5 +22,5 @@ bootJar {
|
||||
}
|
||||
|
||||
bootRun {
|
||||
main = 'example.app.caching.session.http.BootGeodeHttpSessionCachingApplication'
|
||||
mainClass = 'example.app.caching.session.http.BootGeodeHttpSessionCachingApplication'
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
|
||||
@@ -29,5 +29,5 @@ bootJar {
|
||||
}
|
||||
|
||||
bootRun {
|
||||
main = 'example.app.caching.inline.BootGeodeInlineCachingApplication'
|
||||
mainClass = 'example.app.caching.inline.BootGeodeInlineCachingApplication'
|
||||
}
|
||||
|
||||
@@ -19,5 +19,5 @@ bootJar {
|
||||
}
|
||||
|
||||
bootRun {
|
||||
main = 'example.app.caching.lookaside.BootGeodeLookAsideCachingApplication'
|
||||
mainClass = 'example.app.caching.lookaside.BootGeodeLookAsideCachingApplication'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user