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
pull/3589/head
Stephane Nicoll 9 years ago
parent 8960b88020
commit 7c3cdead28

@ -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'
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'
} }

Loading…
Cancel
Save