β π Java Basic Skeleton: 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.
π How To Start
- Install Java 17:
brew install corretto
or download it here - Set it as your default JVM:
export JAVA_HOME='/Library/Java/JavaVirtualMachines/amazon-corretto-17.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!
βοΈ How to update dependencies
- 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
π‘ Related repositories
β Java
π Java Basic Skeletonβ Java OOP Examplesπ§± Java SOLID Examplesπ₯¦ Java DDD Example
π PHP
π PHP Basic Skeletonπ© PHP DDD Skeletonπ₯¦ PHP DDD Example