β‘ 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:
brew install corretto
or download it here - Set it as your default JVM:
export JAVA_HOME='/Library/Java/JavaVirtualMachines/amazon-corretto-$JAVA_VERSION$.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: 8.9 - releases):
./gradlew wrapper --gradle-version=8.9 --distribution-type=bin
or modifying the gradle-wrapper.properties - JUnit (current version: 5.8.2 - releases):
build.gradle:14
- π Java Basic Skeleton
- β Java OOP Examples
- 𧱠Java SOLID Examples
- π₯¦ Java DDD Example
- π PHP Basic Skeleton
- π© PHP DDD Skeleton
- π₯¦ PHP DDD Example