Skip to content

0.12.0

Choose a tag to compare

@RBusarow RBusarow released this 15 Apr 14:43
· 1272 commits to main since this release

Changes

πŸ’₯ Breaking Changes

  • The autoCorrect property in the Gradle settings DSL has been removed. Instead, to perform a check with auto-correct, add the Auto suffix 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 modulecheck or ./gradlew moduleCheckAuto.

πŸ“ New Rules

πŸš€ 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 unusedDependency when 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 disableViewBinding when 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 .java files 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

New Contributors

Contributors

@RBusarow, @diego-gomez-olvera and @tasomaniac

Full Changelog: 0.11.3...0.12.0