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
Currently, the documentation does not mention the cases when id("org.springframework.boot") Gradle plugin adds bootRun task.
Previously, the task was added by default, and now it is added only in case user adds id("application") plugin.
The documentation does not mention it, and it causes weird issues like
I suggest documenting the need for id("application") for bootRun task.
An alternative option could be applying application plugin as a part of org.springframework.boot, however, I am not sure which option is better.
The text was updated successfully, but these errors were encountered:
That's not correct. The bootRun is there, regardless of the application plugin. Create a new project on start.spring.io, and run ./gradlew bootRun. There's no application plugin, but the bootRun still works.
The trigger for the task is the application of the java plugin. This is documented here.
Currently, the documentation does not mention the cases when
id("org.springframework.boot")
Gradle plugin addsbootRun
task.Previously, the task was added by default, and now it is added only in case user adds
id("application")
plugin.The documentation does not mention it, and it causes weird issues like
I suggest documenting the need for
id("application")
forbootRun
task.An alternative option could be applying
application
plugin as a part oforg.springframework.boot
, however, I am not sure which option is better.The text was updated successfully, but these errors were encountered: