A template for creating an executable jar
project.
- If you create a project using
gradle init
, the generated setup is outdated. - Setting up and running Gradle can be cumbersome.
Before opening this project in an IDE, please do the following:
jabai.Main
is the class used as the entry point.
- This is the project name displayed in Eclipse's Package Explorer and other IDEs.
- Don't forget to rename the folder containing this README.md file accordingly.
It may be easier to do this after opening the project in an IDE.
- Change the
jabai
part insrc/main/java/jabai
andsrc/test/java/jabai
. - Update the package name in the
.java
files inside these folders.
If you want to create a regular library instead of an executable JAR, remove the jar {...}
block in build.gradle
.
That's all.