Skip to content
/ java-template Public template

template repo for Java projects using Gradle with everything setup

License

Notifications You must be signed in to change notification settings

will-molloy/java-template

Repository files navigation

java-template

build codecov

template repo for Java projects using Gradle

Features

Usage

  • Click Use this template
    • This will prompt you to create a new repo with all the files setup
  • Rename the root project (currently java-template) and group (currently com.willmolloy) to your liking
  • Delete anything you won't use
  • Update the README
  • Other non-code setup like GitHub branch protections
  • NOTE: if creating a private repo, you probably want to disable the windows and mac builds

Build and test

./gradlew spotlessApply build integrationTest

Upgrade Gradle

Upgrade Java

  • Download the JDK using IntelliJ
  • Update all references

Promise

  • Keep up to date with:
    • Future Java versions
    • Future Gradle versions
    • Other dependency upgrades
    • Any other cool tools or plugins

Generated from java-template