ModuleCheck icon indicating copy to clipboard operation
ModuleCheck copied to clipboard

chore(deps): update dependencyanalysis to v2 (major)

Open renovate[bot] opened this issue 1 year ago • 0 comments

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
com.autonomousapps.dependency-analysis 1.30.0 -> 2.3.0 age adoption passing confidence
com.autonomousapps:dependency-analysis-gradle-plugin 1.30.0 -> 2.3.0 age adoption passing confidence

Release Notes

autonomousapps/dependency-analysis-android-gradle-plugin (com.autonomousapps.dependency-analysis)

v2.3.0

  • [Feat]: enable reason task to get reason for specific gradle capabilities (e.g., test-fixtures).
  • [Fix]: don't suggest removing runtime-required annotation libraries.
  • [Fix]: only print issue postscript if there's an issue to report.

Example usage of reason:

./gradlew app:reason --id foo --capability test-fixtures

Which will print the "reason" for any advice relating to the test-fixtures variant of the foo library.

v2.2.0

  • [Feat]: new ReportingHandler with ability to specify postscript.
  • [Feat]: DSL option that opts-in source sets to requiring explicit dependencies.
  • [Chore]: build and test against Gradle 8.10.2.
  • [Chore]: bump to latest Kotlin 1.9.x patch.
  • [Chore]: update to AGP 8.7 stable and 8.8 alpha04

Summary of new DSL options below:

// root build.gradle[.kts] or settings.gradle[.kts]
dependencyAnalysis {
  structure {
    explicitSourceSets(/* vararg of source sets to be treated "explicitly" */)
  }
  reporting {
    postscript(/* Some text to help out end users who may not be build engineers. */)
  }
}

v2.1.4

  • [Fix]: @Metadata's d2 array should typically be compileOnly.

v2.1.3

  • [Fix]: kotlin modules can have java code.
  • [Fix]: classes referenced in runtime-retained annotations are required at runtime.
  • [Fix]: reason for dependencies used in annotations is still confusing but less misleading.

v2.1.2

  • [Fix]: include project description json at both external and internal coordinates.

v2.1.1

  • [Fix]: improve separation of "annotation" vs "not-annotation" in bytecode analysis.

v2.1.0

  • [Feat]: start to add information about how a class is referenced in bytecode.
  • [Fix]: when rewriting dependencies, don't require a version string.

v2.0.2

  • [Fix]: include version catalog entries even when plugin not applied to root.
  • [Fix]: when setting bundle primary, also 'include' dependency.
  • [Fix]: consistently replace '.' with '_' in Android res.
  • [Fix]: typo in AGP missing message
  • [Docs]: add kdoc to AbiHandler.ExclusionsHandler.

v2.0.1

  • [Fix] consider dependency unused candidate if only capability is InferredCapability.

v2.0.0

  • [Feat] add 'com.autonomousapps.build-health' settings plugin.
  • [Feat] dependencyAnalysis configurable from settings script.
  • [Feat] remove support for auto-apply flag.
  • [Feat] remove restriction that DAGP must be applied to root project.
  • [Feat] helpful error message when KGP or AGP are missing from build classpath.
  • [Feat] check that buildHealth did something.
  • [Feat] remove deprecated ignoreKtx property.
  • [Feat] move PluginAdvice to the model package.
  • [Feat] rename FindInlineMembersTask to FindKotlinMagicTask.
  • [Feat] don't warn when AGP is using a newer patch version
  • [Fix] gracefully handle 'empty' Android res file.
  • [Chore] update to Gradle 8.9
  • [Chore] update to AGP 8.5.2

v1.33.0

  • [Feat] Bundle kotlin-test to avoid false-positives.
  • [Fix] Merge dependency usages by identifier, not gav.
  • [Fix] Publish graph-support v0.3, fixing broken metadata.
  • [Fix] Improve performance of usesResByRes.
  • [Fix] Sort output of findDeclarations.
  • [Fix] Sort output of graphView tasks.
  • [Fix] Handle constant pool tag 17 (CONSTANT_DYNAMIC).
  • [Chore] Update latest stable AGP version to 8.5.1.

v1.32.0

  • [New] Output dominator tree results in JSON format including size and total size of deps.
  • [New] Allow to force app behavior for pure Java projects.
  • [New] generateProjectGraph task.
  • [New] reason works for multi-capabilities.
  • [New] Print build file path in projectHealth console report.
  • [Fix] Enhance logging (more) when ConstantPoolParser throws exception.
  • [Fix] Do not dotty for path matching and remove prefix and suffix from binary class name.
  • [Fix] Fix Windows file separator incompatibility.
  • [Fix] Don't suggest adding testImplementation dependency on self.
  • [Fix] DAGP variants have a Category of 'dependency-analysis'.
  • [Fix] Sort an input map for better reproducibility.

v1.31.0

  • [Fix] support Isolated Projects.
  • [Fix] only use new configurations factories from Gradle 8.5.
  • [Fix] Do not suggest to move dependencies between feature variants
  • [Fix] Reason explanation id ambiguity
  • [Fix] Use a hash in file name for dependencies with capabilities
  • [Fix] make file relativizing work properly on Windows
  • [Fix] try/catch to workaround AGP issue.
  • [Fix] enhance logging when ConstantPoolParser throws exception.
  • [Chore] no group for 'internal' tasks.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • [ ] If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

renovate[bot] avatar Aug 27 '24 22:08 renovate[bot]