Commit 7c3cdead authored by Stephane Nicoll's avatar Stephane Nicoll

Remove unnecessary mainClassName

Since each sample has (supposedly) only one application class and not
a lot of the code, the `mainClassName` attribute in the gradle build is
not really useful and can lead to inconsistency if the application class
is moved.

See gh-3588
parent 8960b880
...@@ -22,8 +22,6 @@ apply plugin: 'idea' ...@@ -22,8 +22,6 @@ apply plugin: 'idea'
apply plugin: 'spring-boot' apply plugin: 'spring-boot'
apply plugin: 'war' apply plugin: 'war'
mainClassName = "sample.ui.SampleWebStaticApplication"
war { war {
baseName = 'spring-boot-sample-web-static' baseName = 'spring-boot-sample-web-static'
version = '0.0.0' version = '0.0.0'
......
...@@ -23,8 +23,6 @@ apply plugin: 'eclipse' ...@@ -23,8 +23,6 @@ apply plugin: 'eclipse'
apply plugin: 'idea' apply plugin: 'idea'
apply plugin: 'spring-boot' apply plugin: 'spring-boot'
mainClassName = "sample.web.ui.SampleWebUiApplication"
springBoot { springBoot {
classifier = 'exec' classifier = 'exec'
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment