⚡ 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='?url=https%3A%2F%2Fgithub.com%2FLibrary%2FJava%2FJavaVirtualMachines%2Famazon-corretto-11.jdk%2FContents%2FHome' - Clone this repository:
git clone https://github.com/CodelyTV/java-ddd-example. - 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