# Announcing Dependency Analysis Gradle Plugin 2.0.0!

DevFeed: [Announcing Dependency Analysis Gradle Plugin 2.0.0!](<https://devfeed.tech/articles/announcing-dependency-analysis-gradle-plugin-2-0-0-30468.md>)

Original publisher: [Read original article](<https://dev.to/gradle-community/announcing-dependency-analysis-gradle-plugin-200-426c>)

Author: Tony Robalik

Published: 2024-08-27T21:24:18Z

Content type: release

Language: en

Sources: [DEV Community: Tony Robalik](<https://devfeed.tech/sources/dev-community-tony-robalik.md>)

Topics: [Gradle](<https://devfeed.tech/topics/gradle.md>), [releases](<https://devfeed.tech/topics/releases.md>), [Release notes](<https://devfeed.tech/topics/release-notes.md>), [deprecated](<https://devfeed.tech/topics/deprecated.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [changes](<https://devfeed.tech/tags/changes.md>), [coding](<https://devfeed.tech/tags/coding.md>), [community](<https://devfeed.tech/tags/community.md>), [dependency](<https://devfeed.tech/tags/dependency.md>), [development](<https://devfeed.tech/tags/development.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [gradle](<https://devfeed.tech/tags/gradle.md>), [inclusive](<https://devfeed.tech/tags/inclusive.md>), [jvm](<https://devfeed.tech/tags/jvm.md>), [plugin](<https://devfeed.tech/tags/plugin.md>), [release-notes](<https://devfeed.tech/tags/release-notes.md>), [software](<https://devfeed.tech/tags/software.md>), [version-2-0-0](<https://devfeed.tech/tags/version-2-0-0.md>)

## AI overview

The Dependency Analysis Plugin v2.0.0 introduces ABI and behavioral changes. It moves and renames public model elements, removes the deprecated ignoreKtx() option from the issues block, and stops automatically applying the plugin to every subproject. Users can apply the plugin per module or use the new build-health plugin, which requires Gradle 8.8 or later.

## Source excerpt

Cover photo by Sandie Clarke on Unsplash The Dependency Analysis Plugin v2.0.0 has just been released! Why 2.0.0? Breaking changes, of course. The ABI has been updated, which is relevant for anyone accessing the analysis results programmatically. There has also been an important behavioral change, which will be relevant to all users. ABI changes The PluginAdvice class has been moved from the com.autonomousapps.advice package to the com.autonomousapps.model package, where all the other public model classes live. The FindInlineMembersTask has been renamed to FindKotlinMagicTask, to better reflect what it actually does. This is unlikely to impact any users, but since it has public visibility, it might. Finally, the deprecated ignoreKtx() option has been removed from the issues block. It can now only be configured from the structure block. Behavioral changes The plugin no longer automatically applies itself to every subproject in your build. Therefore the dependency.analysis.autoapply flag is now a no-op, and using it will either emit a warning (when the value is set to false) or fail your build (if the value is set to true, which was the old default). Users now have two choices if they want to analyze subprojects in their build: First, you can apply the plugin directly to every module you want to analyze. This has long been the best practice for how to use this plugin. Second, you can use the new com.autonomousapps.build-health plugin! Apply it to your settings.gradle[.kts] like so: // settings.gradle[.kts] plugins { id("com.autonomousapps.build-health") version "2.0.0" } // And you can configure it from the settings // script, too! dependencyAnalysis { ... } This new plugin is only available from Gradle 8.8. See the wiki for more information, especially if you also use Android or Kotlin. In order to assist users who might update to 2.0.0 without reading the release notes, the plugin has been updated to attempt to detect the case where the plugin has been applied only