First of all, thank you for this awesome build tool.
I just downloaded and installed Gradle as a part of a Hyperskill tutorial lesson: Hyperskill
The Gradle project initialized and built successfully, but I am running into an issue when I try to use gradle jar from the command line. It cannot find or load the main class.
I renamed the .jar file to .zip and found that the file file structure is the default ‘org.example’, even though I specified the project name ‘org.hyperskill.gradleapp’ as the project name, which is how it appears in the settings.gradle file and in the application and jar sections of the build.gradle file.
The answer I found online was to add a group = ‘org.hyperskill.gradleapp’ line to the build.gradle file.
However, even after adding that the project structure is still ‘org.example’ and thus clashing with my custom MainClass name every time I clean and rebuild the project.
Since I am new to Gradle I am assuming there is something simple I am doing wrong. Happy to find the answer.