0.12.0
Changes
π₯ Breaking Changes
- The
autoCorrectproperty in the Gradle settings DSL has been removed. Instead, to perform a check with auto-correct, add theAutosuffix to the task name.# perform all checks and fail if errors are found ./gradlew moduleCheck # perform all checks and auto-correct if possible ./gradlew moduleCheckAuto
- Tasks are no longer generated for most individual rules. Instead, rules should be toggled via the Gradle DSL and can be invoked through
./gradlew modulecheckor./gradlew moduleCheckAuto.
π New Rules
- Add the Depths rule @RBusarow (#278)
- New rule: Unused Android Extensions @tasomaniac (#440)
π Features
- Add support for depths, dotviz dependency graph, checkstyle, and plaintext result reporting @RBusarow (#243)
π Bug Fixes
- Add a test case for false positive @tasomaniac (#419)
- Don't call a dependency overshot if it's already declared in that source set @RBusarow (#521)
- don't try to parse
.pngs as xml @RBusarow (#522) - fix parsing xml resource declarations when there's a dot in the name @RBusarow (#512)
- Fix false positive for
unusedDependencywhen a resource from the dependency is used with R from the dependent in a downstream project @RBusarow (#510) - better modeling for generated databinding declarations and references @RBusarow (#509)
- count layout files and
@+id/__declarations as part of a module's declarations @RBusarow (#499) - Support the alternative usage of kapt plugin @tasomaniac (#481)
- add new dependency declarations even if their transitive source can't be found @RBusarow (#469)
- don't generate BuildConfig if it's ignored in Android settings @RBusarow (#470)
- force single-threaded GroovyLangParser access @RBusarow (#463)
- fix false positive for
disableViewBindingwhen used in debug source set of different module @RBusarow (#446) - don't swallow a newline when replacing a dependency with a preceding blank line @RBusarow (#444)
- better handling for detecting complex precompiled configuration names @RBusarow (#442)
- support multiple android base packages @RBusarow (#411)
- support
.javafiles without a package declaration @RBusarow (#400) - strip illegal characters from XML before parsing @RBusarow (#376)
- fix auto-correct when using a non-standard config name @RBusarow (#368)
- fix false positive for kapt processors in non-kapt configurations @RBusarow (#350)
- don't allow projects to inherit themselves @RBusarow (#343)
- update configuration docs @RBusarow (#335)
- always create depth and graph reports when running their explicit tasks @RBusarow (#332)
- collect depth info after applying changes @RBusarow (#331)
- fix testFixtures handling in OverShotDependencyFinding @RBusarow (#297)
- treat testFixtures and the associated main sources like different projects @RBusarow (#288)
- correctly apply the
testFixtures(...)wrapper for replaced/added dependencies @RBusarow (#287)
βΉοΈ Website
- Add documentation for new rule @tasomaniac (#454)
- add snapshots badge to README and website home @RBusarow (#410)
- add
moduleCheckAutoto main README and call out "next" docs version @RBusarow (#408) - correct the tasks listed in the "next" version of the docs @RBusarow (#404)
- update copyright template for 2022 @RBusarow (#362)
- update configuration docs @RBusarow (#335)
- add the Depths feature @RBusarow (#278)
- replace
autoCorrectwith-Autosuffixes @RBusarow (#249)
New Contributors
- @tasomaniac made their first contribution in #401
- @diego-gomez-olvera made their first contribution in #412
Contributors
@RBusarow, @diego-gomez-olvera and @tasomaniac
Full Changelog: 0.11.3...0.12.0