Personal Gradle project templates with emphasis on Java, separated by target platform and kind of distribution.
Plugins | Testing | Publishing | Website | Coverage | Max Heap Size | |
---|---|---|---|---|---|---|
android-app | Android | JUnit 4, Robolectric | ✗ | Cayman | ✓ | 4GB |
android-library | Android | JUnit 4, Robolectric | Maven Central | Javadoc, Minimal | ✓ | 4GB |
gradle-plugin | Java | JUnit 4 | Plugin Portal | Javadoc, Minimal | ✗ | 2GB |
jvm-app | Java, Application | JUnit 5 | ✗ | Cayman | ✓ | 2GB |
jvm-library | Java Library | JUnit 5 | Maven Central | Javadoc, Minimal | ✓ | 2GB |
- JUnit testing framework with Truth asserter.
- 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.
- gradle-git-publish plugin, necessary for uploading to GitHub Pages.