- Improvement: Respect
project.buildDir
.
- New: Add ability to configure
google-java-format
version.
dependencies {
javafmt "com.google.googlejavaformat:google-java-format:${version}"
}
- New: Add ability to select between
AOSP
andGOOGLE
code styles.
javafmt {
style 'AOSP'
}
- Fix: Fix regression introduced in 0.1.3. 0.1.3 would incorrectly ignore all files, causing the fmt and checkFmt tasks to do nothing. Don't use 0.1.3 (still published but not listed here).
- New: Add a
checkFmt
task to verify files are formatted. This is also run as part of thecheck
task.
- Fix: Support product flavors.
Initial Release.