☕🚀 Java DDD example: Save the boilerplate in your new projects
⚡ Start your Java projects as fast as possible
ℹ️ Introduction
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)
🏁 How To Start
- 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-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!
☝️ How to update dependencies
- Gradle (releases):
./gradlew wrapper --gradle-version=WANTED_VERSION --distribution-type=bin