Personal Gradle project templates with emphasis on Java, separated by target platform and kind of distribution.
Plugins | Publication | Testing | |
---|---|---|---|
android-app | Android | ✗ | Robolectric |
android-library | Android | Maven Central | Robolectric |
jvm-app | Application | ✗ | ✗ |
jvm-library | ✗ | Maven Central | ✗ |
- Checkstyle code linter with third-party ruleset Rulebook.
- JaCoCo code coverage.
- GitHub project layout:
- Gradle build tool:
- Kotlin DSL scripts with properties delegation.
- Apply plugin using plugins DSL.
- Version catalogs in TOML file to avoid typing unsafe dependencies.
- Website module:
- Pages Gradle Plugin for generating webpage displaying README's content and documentation links (except for apps).
- gradle-git-publish plugin, necessary for uploading to GitHub Pages.