I have discovered 3 ways so far: what I suggested ...
# server
a
I have discovered 3 ways so far: what I suggested initially, right-click on the main function itself, and you can also create tasks in your build.gradle