β‘ 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 11:
brew cask install corretto
or download it here - 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-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
- π Java Basic Skeleton
- β Java OOP Examples
- 𧱠Java SOLID Examples
- π₯¦ Java DDD Example
- π PHP Basic Skeleton
- π© PHP DDD Skeleton
- π₯¦ PHP DDD Example