Skip to content

Commit

Permalink
Update dependencyAnalysisPlugin to v2 (major) (#939)
Browse files Browse the repository at this point in the history
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[com.autonomousapps.dependency-analysis](https://redirect.github.com/autonomousapps/dependency-analysis-android-gradle-plugin)
| plugin | major | `1.33.0` -> `2.1.4` |
|
[com.autonomousapps:dependency-analysis-gradle-plugin](https://redirect.github.com/autonomousapps/dependency-analysis-android-gradle-plugin)
| dependencies | major | `1.33.0` -> `2.1.4` |

---

### Release Notes

<details>
<summary>autonomousapps/dependency-analysis-android-gradle-plugin
(com.autonomousapps.dependency-analysis)</summary>

###
[`v2.1.4`](https://redirect.github.com/autonomousapps/dependency-analysis-android-gradle-plugin/blob/HEAD/CHANGELOG.md#Version-214)

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

###
[`v2.1.3`](https://redirect.github.com/autonomousapps/dependency-analysis-android-gradle-plugin/blob/HEAD/CHANGELOG.md#Version-213)

-   \[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`](https://redirect.github.com/autonomousapps/dependency-analysis-android-gradle-plugin/blob/HEAD/CHANGELOG.md#Version-212)

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

###
[`v2.1.1`](https://redirect.github.com/autonomousapps/dependency-analysis-android-gradle-plugin/blob/HEAD/CHANGELOG.md#Version-211)

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

###
[`v2.1.0`](https://redirect.github.com/autonomousapps/dependency-analysis-android-gradle-plugin/blob/HEAD/CHANGELOG.md#Version-210)

- \[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`](https://redirect.github.com/autonomousapps/dependency-analysis-android-gradle-plugin/blob/HEAD/CHANGELOG.md#Version-202)

- \[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`](https://redirect.github.com/autonomousapps/dependency-analysis-android-gradle-plugin/blob/HEAD/CHANGELOG.md#Version-201)

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

###
[`v2.0.0`](https://redirect.github.com/autonomousapps/dependency-analysis-android-gradle-plugin/blob/HEAD/CHANGELOG.md#Version-200)

-   \[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

</details>

---

### 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.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC41Ni4xIiwidXBkYXRlZEluVmVyIjoiMzguMTEwLjIiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbXX0=-->

---------

Co-authored-by: Zac Sweers <pandanomic@gmail.com>
  • Loading branch information
slack-oss-bot and ZacSweers authored Oct 8, 2024
1 parent b83ddca commit e53f1b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ circuit = "0.23.1"
compose-jb = "1.7.0-rc01"
compose-jb-stable = "1.6.11"
coroutines = "1.9.0"
dependencyAnalysisPlugin = "1.33.0"
dependencyAnalysisPlugin = "2.1.4"
detekt = "1.23.7"
dokka = "1.9.20"
errorproneGradle = "4.0.1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
package foundry.gradle.dependencyrake

import com.autonomousapps.AbstractPostProcessingTask
import com.autonomousapps.advice.PluginAdvice
import com.autonomousapps.model.Advice
import com.autonomousapps.model.Coordinates
import com.autonomousapps.model.FlatCoordinates
import com.autonomousapps.model.IncludedBuildCoordinates
import com.autonomousapps.model.ModuleCoordinates
import com.autonomousapps.model.PluginAdvice
import com.autonomousapps.model.ProjectCoordinates
import foundry.gradle.artifacts.Resolver
import foundry.gradle.artifacts.SgpArtifact
Expand Down

0 comments on commit e53f1b3

Please sign in to comment.