I have a gradle-based project that doesn't implement the "application" plugin, but somehow the "run" task runs perfectly when i just write on the console
./gradlew run
I've been looking among the plugins and I can't find which one is adding the "run" task.
Try
gradle -q tasks --all
which will show all the tasks as well as the plugin responsible for each task. This is covered in the section titled "Listing tasks" in the Gradle manual .
Are you using the spring-boot
gradle plugin? If so, it imports the application
plugin to provide support for the bootRun
task.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.