Awesome
<p align="center"> <a href="https://codely.com"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://codely.com/logo/codely_logo-dark.svg"> <source media="(prefers-color-scheme: light)" srcset="https://codely.com/logo/codely_logo-light.svg"> <img alt="Codely logo" src="https://codely.com/logo/codely_logo.svg"> </picture> </a> </p> <h1 align="center"> âđ Java Basic Skeleton: Save the boilerplate in your new projects </h1> <p align="center"> <a href="https://github.com/CodelyTV"><img src="https://img.shields.io/badge/Codely-OS-green.svg?style=flat-square" alt="Codely Open Source projects"/></a> <a href="https://pro.codely.com"><img src="https://img.shields.io/badge/Codely-Pro-black.svg?style=flat-square" alt="Codely Pro courses"/></a> <a href="https://github.com/CodelyTV/java-basic-skeleton/actions"><img src="https://github.com/CodelyTV/java-basic-skeleton/workflows/Main%20Workflow/badge.svg" alt="Workflow Status"></a> </p>⥠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:
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!
âī¸ How to update dependencies
- 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
đĄ 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