⚡ 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.
Here you have the course on CodelyTV Pro where we explain step by step all this (Spanish)
- Install Java 11:
brew cask install corretto
- Set it as your default JVM:
export JAVA_HOME='/Library/Java/JavaVirtualMachines/amazon-corretto-11.jdk/Contents/Home'
- Clone this repository:
git clone https://github.com/CodelyTV/java-ddd-skeleton
. - Bring up the Docker environment:
make up
. - 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 (releases):
./gradlew wrapper --gradle-version=WANTED_VERSION --distribution-type=bin