You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I add apply plugin: 'spring-boot' to all subprojects in a multi module gradle project the build task exits with the above error message.
A workaround is to add
bootRepackage {
mainClass = '...'
}
in all build.gradle files or to set the apply plugin line only in the one module that currently has the Application class but then the version management does not work for all modules.
It would be better if I could only set the mainClass in one module.