chore(deps): update plugin com.android.application to v9#124
chore(deps): update plugin com.android.application to v9#124renovate-sh-app[bot] wants to merge 1 commit intomainfrom
Conversation
fd4ede6 to
ec896f5
Compare
7baa232 to
2200a49
Compare
example/android/settings.gradle
Outdated
| plugins { | ||
| id "dev.flutter.flutter-plugin-loader" version "1.0.0" | ||
| id "com.android.application" version "8.13.2" apply false | ||
| id "com.android.application" version "9.0.0" apply false |
There was a problem hiding this comment.
AGP 9.0 requires Gradle 9.x, project uses 8.14.3
High Severity
Bumping com.android.application to 9.0.0 without updating the Gradle wrapper will break the build. AGP 9.0.0 requires Gradle 9.0 or higher, but gradle-wrapper.properties still specifies gradle-8.14.3-bin.zip. The build will fail at configuration time with a version incompatibility error.
This comment has been minimized.
This comment has been minimized.
2200a49 to
e992ae6
Compare
example/android/settings.gradle
Outdated
| plugins { | ||
| id "dev.flutter.flutter-plugin-loader" version "1.0.0" | ||
| id "com.android.application" version "8.13.2" apply false | ||
| id "com.android.application" version "9.0.1" apply false |
There was a problem hiding this comment.
AGP 9.0 built-in Kotlin conflicts with separate plugin
Medium Severity
AGP 9.0 integrates Kotlin support directly and the separate org.jetbrains.kotlin.android plugin on line 22 is no longer compatible with the new DSL. Keeping both is likely to cause build errors or conflicts. The standalone Kotlin Android plugin declaration may need to be removed or the built-in Kotlin opt-out flag set.
|
Bugbot Autofix prepared fixes for 1 of the 1 bugs found in the latest run.
Or push these changes by commenting: Preview (a01615435d)diff --git a/example/android/app/build.gradle b/example/android/app/build.gradle
--- a/example/android/app/build.gradle
+++ b/example/android/app/build.gradle
@@ -1,6 +1,5 @@
plugins {
id "com.android.application"
- id "kotlin-android"
id "dev.flutter.flutter-gradle-plugin"
}
diff --git a/example/android/settings.gradle b/example/android/settings.gradle
--- a/example/android/settings.gradle
+++ b/example/android/settings.gradle
@@ -19,7 +19,6 @@
plugins {
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
id "com.android.application" version "9.0.1" apply false
- id "org.jetbrains.kotlin.android" version "2.3.0" apply false
}
include ":app" |
b30785c to
18f0898
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Autofix Details
Bugbot Autofix prepared a fix for the issue found in the latest run.
- ✅ Fixed: AGP 9.0 removed support for
android.enableJetifierflag- Removed
android.enableJetifier=truefromexample/android/gradle.properties, eliminating the unsupported AGP 9.0 property.
- Removed
Or push these changes by commenting:
@cursor push 48a6adfaa7
Preview (48a6adfaa7)
diff --git a/example/android/gradle.properties b/example/android/gradle.properties
--- a/example/android/gradle.properties
+++ b/example/android/gradle.properties
@@ -1,3 +1,2 @@
org.gradle.jvmargs=-Xmx4096M
android.useAndroidX=true
-android.enableJetifier=true
example/android/settings.gradle
Outdated
| plugins { | ||
| id "dev.flutter.flutter-plugin-loader" version "1.0.0" | ||
| id "com.android.application" version "8.13.2" apply false | ||
| id "com.android.application" version "9.0.1" apply false |
There was a problem hiding this comment.
AGP 9.0 removed support for android.enableJetifier flag
Medium Severity
AGP 9.0 has removed support for the android.enableJetifier property, but gradle.properties still sets android.enableJetifier=true. This will cause a build error when the upgraded AGP 9.0.1 encounters the unsupported flag. The flag needs to be removed as part of this migration.
7796802 to
0e0b372
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Autofix Details
Bugbot Autofix prepared a fix for the issue found in the latest run.
- ✅ Fixed: Library AGP version not updated alongside example app
- Updated the library Android Gradle Plugin classpath from 8.13.2 to 9.1.0 to match the example app and avoid cross-version AGP incompatibilities.
Or push these changes by commenting:
@cursor push 5a6f09086c
Preview (5a6f09086c)
diff --git a/android/build.gradle b/android/build.gradle
--- a/android/build.gradle
+++ b/android/build.gradle
@@ -8,7 +8,7 @@
}
dependencies {
- classpath 'com.android.tools.build:gradle:8.13.2'
+ classpath 'com.android.tools.build:gradle:9.1.0'
}
}| plugins { | ||
| id "dev.flutter.flutter-plugin-loader" version "1.0.0" | ||
| id "com.android.application" version "8.13.2" apply false | ||
| id "com.android.application" version "9.1.0" apply false |
There was a problem hiding this comment.
Library AGP version not updated alongside example app
Medium Severity
The example app's AGP is bumped to 9.1.0, but the main library's android/build.gradle still declares com.android.tools.build:gradle:8.13.2 as a classpath dependency. Mixing AGP major versions across a project and its library plugin can cause incompatibilities at build time when the example app includes the library.
54e8d96 to
6955d60
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix prepared a fix for the issue found in the latest run.
- ✅ Fixed: Removed
compileSdkVersionAPI breaks build with AGP 9.x- I migrated
compileSdkVersion,minSdkVersion, andtargetSdkVersionusages inexample/android/app/build.gradletocompileSdk,minSdk, andtargetSdkfor AGP 9.x compatibility.
- I migrated
Or push these changes by commenting:
@cursor push 8db7da89b1
Preview (8db7da89b1)
diff --git a/example/android/app/build.gradle b/example/android/app/build.gradle
--- a/example/android/app/build.gradle
+++ b/example/android/app/build.gradle
@@ -24,10 +24,10 @@
android {
namespace 'com.grafana.faro_example'
- compileSdkVersion flutter.compileSdkVersion
+ compileSdk flutter.compileSdkVersion
ndkVersion flutter.ndkVersion
defaultConfig{
- minSdkVersion flutter.minSdkVersion
+ minSdk flutter.minSdkVersion
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_17
@@ -39,8 +39,8 @@
applicationId "com.grafana.faro_example"
// You can update the following values to match your application needs.
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
- minSdkVersion flutter.minSdkVersion
- targetSdkVersion flutter.targetSdkVersion
+ minSdk flutter.minSdkVersion
+ targetSdk flutter.targetSdkVersion
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
}| plugins { | ||
| id "dev.flutter.flutter-plugin-loader" version "1.0.0" | ||
| id "com.android.application" version "8.13.2" apply false | ||
| id "com.android.application" version "9.1.0" apply false |
There was a problem hiding this comment.
Removed compileSdkVersion API breaks build with AGP 9.x
High Severity
AGP 9.0 removed the legacy compileSdkVersion, minSdkVersion, and targetSdkVersion DSL methods. The example/android/app/build.gradle still uses these removed APIs (e.g., compileSdkVersion flutter.compileSdkVersion). These need to be migrated to compileSdk, minSdk, and targetSdk respectively for compatibility with AGP 9.x.
| datasource | package | from | to | | ---------- | ------------------------------------------------------------- | ------ | ----- | | maven | com.android.application:com.android.application.gradle.plugin | 8.13.2 | 9.1.0 | Signed-off-by: renovate-sh-app[bot] <219655108+renovate-sh-app[bot]@users.noreply.github.com>
6955d60 to
735fb37
Compare
|
Closing: AGP 9 requires Gradle 9 and would break consumers still on AGP 8. Deferring until the Flutter/Android ecosystem has broader adoption. |
<!-- CURSOR_AGENT_PR_BODY_BEGIN --> ## Description Consolidates compatible Renovate dependency updates into a single PR, prioritizing stability for a published Flutter plugin. This includes updating key plugin dependencies and development tooling while deferring higher-risk upgrades. ## Related Issue(s) Fixes #120, #122, #123, #127, #130, #142 ## Type of Change - [ ] 🛠️ Bug fix (non-breaking change which fixes an issue) - [ ] 🚀 New feature (non-breaking change which adds functionality) - [ ] 💥 Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] 📝 Documentation - [ ] 📈 Performance improvement - [ ] 🏗️ Code refactoring - [x] 🧹 Chore / Housekeeping ## Checklist - [ ] I have made corresponding changes to the documentation - [x] I have added tests that prove my fix is effective or that my feature works - [ ] I have updated the CHANGELOG.md under the "Unreleased" section ## Screenshots (if applicable) ## Additional Notes This PR consolidates several Renovate dependency updates, carefully selecting those compatible with the current Flutter stable toolchain and the constraints of a published plugin. Specifically: * Updated `connectivity_plus` to `7.0.0` * Updated `package_info_plus` to `9.0.0` * Updated repo-only tooling: `flutter_lints` to `6.0.0`, Kotlin plugin to `2.3.10`, Gradle wrapper to `8.14.4`, and `actions/setup-java` to `v5.2.0`. The AGP 9 / app plugin 9 path (related to Renovate PRs #121, #124, #125) has been deferred due to its higher risk for a plugin repo and existing compatibility issues in the example app requiring a further Gradle upgrade (9.3.1) which is not yet needed for the current dependency set. Extensive verification was performed, including `flutter analyze`, `flutter test`, `dart tool/pre_release_check.dart`, and an `flutter build apk` of the example app. --- <p><a href="https://cursor.com/agents/bc-e054265d-c10f-4ee8-8011-617e26b382ab"><picture><source media="(prefers-color-scheme: dark)" srcset="https://cursor.com/assets/images/open-in-web-dark.png"><source media="(prefers-color-scheme: light)" srcset="https://cursor.com/assets/images/open-in-web-light.png"><img alt="Open in Web" width="114" height="28" src="https://cursor.com/assets/images/open-in-web-dark.png"></picture></a> <a href="https://cursor.com/background-agent?bcId=bc-e054265d-c10f-4ee8-8011-617e26b382ab"><picture><source media="(prefers-color-scheme: dark)" srcset="https://cursor.com/assets/images/open-in-cursor-dark.png"><source media="(prefers-color-scheme: light)" srcset="https://cursor.com/assets/images/open-in-cursor-light.png"><img alt="Open in Cursor" width="131" height="28" src="https://cursor.com/assets/images/open-in-cursor-dark.png"></picture></a> </p> <!-- CURSOR_AGENT_PR_BODY_END --> --------- Co-authored-by: Robert Magnusson <robert-northmind@users.noreply.github.com>
Renovate Ignore NotificationBecause you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR. |



This PR contains the following updates:
8.13.2→9.1.0Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
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 is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
Need help?
You can ask for more help in the following Slack channel: #proj-renovate-self-hosted. In that channel you can also find ADR and FAQ docs in the Resources section.