-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Dependency Analysis] Add Android Gradle Plugin #31
[Dependency Analysis] Add Android Gradle Plugin #31
Conversation
FYI: This commit adds a previous version of the plugin (1.28.0) and not the latest version (1.32.0). This is because the latest version gets stuck during the 'computeActualUsage' phase and increases the build time of the 'buildHealth' task by as much as five times (5x). For more info see: Stuck in computeActualUsageDebug for many minutes #1186 (https://github.com/autonomousapps/ dependency-analysis-gradle-plugin/issues/1186)
As per the documentation, this change follows the below step within the 'Adding a new dependency' section: "If this is a new plugin, add it under plugins section in example/build.gradle.kts - make sure to add .apply(false). This step is necessary because we use the example module to generate a dependency cache we use to speed up CI in other projects. We are able to automatically add the library dependencies, so this step is not necessary, but plugins need to be added manually."
Closing this as the
FYI: I went and really quickly tried to update FluxC to
In general, I wouldn't recommend bumping Kotlin just for this plugin to work. Updating Kotlin should be considered another major task for FluxC and should be done in isolation to anything else. |
FYI: This change was done for testing purposes and until the below 'Android Dependency Catalog' #32 PR gets merged to 'trunk'. When that's done, the 'catalogVersion' will be updated to '1.19.0' instead. ------------------------------------------------------------------------ Android Dependency Catalog PR: [Migrate] [Dependency Analysis] Add Android Gradle Plugin #31 - Automattic/android-dependency-catalog#31 ------------------------------------------------------------------------ FYI: This commit adds a previous version of the plugin (1.28.0) and not the latest version (1.32.0). This is because the latest version gets stuck during the 'computeActualUsage' phase and increases the build time of the 'buildHealth' task by as much as five times (5x). For more info see: Stuck in computeActualUsageDebug for many minutes #1186 (https://github.com/autonomousapps/ dependency-analysis-gradle-plugin/issues/1186)
👋 @wzieba and FYI that I reopened this PR and it is now ready for another go! 🙏 |
Project Thread: paaHJt-6yU-p2
Required By: FluxC#TODO
Description
Adds Dependency Analysis plugin to be used for the WordPress-FluxC-Android repo (see
Required By
).To test (FluxC PR):
example
app.