CodelyTV/java-ddd-example

Repository files navigation

Codely logo

Codely Open Source projectsCodely Pro coursesCI pipeline status

⚡ 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)

  1. Install Java 11: brew cask install corretto
  2. Set it as your default JVM: export JAVA_HOME='/Library/Java/JavaVirtualMachines/amazon-corretto-11.jdk/Contents/Home'
  3. Clone this repository: git clone https://.com/CodelyTV/java-ddd-example.
  4. Bring up the Docker environment: make up.
  5. Execute some Gradle lifecycle tasks in order to check everything is OK:
    1. Create the project JAR: make build
    2. Run the tests and plugins verification tasks: make test
  6. Start developing!
  • Gradle (releases): ./gradlew wrapper --gradle-version=WANTED_VERSION --distribution-type=bin