Is it possible to make a web application with java in gradle?

I am taking a Java course, I am starting to use Java SE and glassfish, the course uses maven, but I use gradle for my projects, my question is: how can I “generate” the structure of a Java web using gradle? Because I use neovim to program in linux.

Gradle does not have the possibility to generate layouts other than what the init task provides.
It is not yet extensible like Maven archetypes.
But maybe you find a template out there, or alternatively just write your build as you need and want it, using the war plugin for example.

1 Like

Thanks for your answer, I will see about the plugin, I did not know about it.