Closed gregturn closed 10 years ago
The Boot plugin has its own configuration extension for the main class. So this will work:
springBoot {
mainClass = "hello.FileUploader"
}
I'll have a look at defaulting from the JavaExec
value as well.
Resolved via #5
If you follow the guide and use maven, everything works fine. But if you try to build with gradle, you get this:
It's also captured in the fact that our CI build is broken.
Something has changed regarding the
spring-boot-gradle-plugin
such that you can no longer specify whichpublic static void main
runs withgradleRun
vs.run
or via the executable jar.@philwebb Can you look at the code underneath
complete
and perhaps offer either a suggestion or a PR to fix up the gradle build? Thanks.