A recent Gradle (>= 6.1.1 but < 7.0.0) and JDK 8.
./gradlew build
./gradlew test
./gradlew run
The server will start on port 5000 by default.
Configure as normal and use git push heroku master
.
./gradlew build deployHeroku
works to deploy without pushes...sometimes.
Spotless automatically formats code. If it detects errors, run ./gradlew spotlessApply
to automatically fix them. ./gradlew spotlessCheck
can be used to directly invoke
Spotless.