Skip to content

RBusarow/Gradle-Template

Repository files navigation

Gradle Project Template

This is still a work-in-progress

Features

  • Automatic Dependabot updates
  • Automatic merging via Kodiak
  • Docusaurus website
  • Automatic website deployment after updates to main
  • CI invokes Detekt, KTLint with automatic formatting, and testJvm (all JVM unit tests)
  • If KTLint generates changes, those changes are automatically pushed into the PR and CI is restarted
  • CI automatically cancels stale jobs
  • Automatic release draft updates using Release Drafter

Setup

  1. set up docusaurus
cd website
npm install
cd ..
  1. search and replace all files (not just *.kt*):
  • TEMPLATE_PROJECT_NAME -> project's GitHub name
  • TEMPLATE_DOMAIN -> project's domain
  • TEMPLATE_GITHUB_USER -> GitHub username
  • TEMPLATE_AUTHOR_NAME -> author name, like "John Smith"
  1. create a GitHub secret for GH Actions named PERSONAL_ACCESS_TOKEN
  2. install Kodiak
  3. create labels for automerge and dependencies
  4. set a branch protection

TODO

  • handle search and replace with a shell script

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published