⚡ Start your Java projects as fast as possible
This is a repository intended to serve as a starting point if you want to bootstrap a Java project with JUnit and Gradle.
- Install Java 8:
brew cask install corretto8
- Set it as your default JVM:
export JAVA_HOME='/Library/Java/JavaVirtualMachines/amazon-corretto-8.jdk/Contents/Home'
- Clone this repository:
git clone https://github.com/CodelyTV/java-basic-skeleton
. - Execute some Gradle lifecycle tasks in order to check everything is OK:
- Create the project JAR:
make build
- Run the tests and plugins verification tasks:
make test
- Create the project JAR:
- Start developing!
- Gradle (current version: 5.6 - releases):
./gradlew wrapper --gradle-version=5.6 --distribution-type=bin
or modifying the gradle-wrapper.properties - JUnit (current version: 5.5.1 - releases):
build.gradle:11