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 install corretto
or download it here - Set it as your default JVM:
export JAVA_HOME=/usr/lib/jvm/java-1.11.0-openjdk-amd64 export PATH=$PATH:$JAVA_HOME/bin
- Clone this repository:
git clone https://github.com/Sikay/java-basic-skeleton
. - Start container:
make docker-up
- Run the tests and plugins verification tasks:
make docker-test
- Check mysql container:
make ping-mysql
- Start developing!
- When you finish, to stop containers:
make docker-down
- 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
This is a modified template from the codelyTV template.