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
This commit is contained in:
Stephane Nicoll
2015-07-23 17:36:41 +02:00
parent 8960b88020
commit 7c3cdead28
2 changed files with 0 additions and 4 deletions

View File

@@ -22,8 +22,6 @@ apply plugin: 'idea'
apply plugin: 'spring-boot'
apply plugin: 'war'
mainClassName = "sample.ui.SampleWebStaticApplication"
war {
baseName = 'spring-boot-sample-web-static'
version = '0.0.0'

View File

@@ -23,8 +23,6 @@ apply plugin: 'eclipse'
apply plugin: 'idea'
apply plugin: 'spring-boot'
mainClassName = "sample.web.ui.SampleWebUiApplication"
springBoot {
classifier = 'exec'
}