Is there a tutorial explaining how to properly create a Java Gradle project and build the .jar file?
When I create a Java project and add Gradle: Menu File → New → Module → Gradle → *... I receive errors about Java EE websocket's not available (I'm using Ultimate Edition).
However, I can successfully create a project by selecting menu File → New → Project → Gradle → which gives me a Java project with Gradle that I can debug. However, when I try to create an artifact (.jar file), I receive errors. I assume the errors stem from mistakes I made in the project structure settings.
Buildfile: build.xml does not exist! Build failed or
Error: Could not find or load main class Main My project is such a mess at this point. Maybe I should create another project, and then copy/paste the Main.class and Gradle's dependencies from the old project onto the new project.
If this is my best option, how do I correctly create the project this time?











