Skip to content

chore(deps): update plugin com.android.application to v9#124

Closed
renovate-sh-app[bot] wants to merge 1 commit intomainfrom
renovate/com.android.application-9.x
Closed

chore(deps): update plugin com.android.application to v9#124
renovate-sh-app[bot] wants to merge 1 commit intomainfrom
renovate/com.android.application-9.x

Conversation

@renovate-sh-app
Copy link
Copy Markdown

@renovate-sh-app renovate-sh-app bot commented Jan 18, 2026

This PR contains the following updates:

Package Change Age Confidence
com.android.application (source) 8.13.29.1.0 age confidence

Warning

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.


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

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.

@renovate-sh-app renovate-sh-app bot force-pushed the renovate/com.android.application-9.x branch 5 times, most recently from fd4ede6 to ec896f5 Compare February 2, 2026 18:11
@renovate-sh-app renovate-sh-app bot force-pushed the renovate/com.android.application-9.x branch 4 times, most recently from 7baa232 to 2200a49 Compare February 9, 2026 13:23
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
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Fix in Cursor Fix in Web

@cursor

This comment has been minimized.

@renovate-sh-app renovate-sh-app bot force-pushed the renovate/com.android.application-9.x branch from 2200a49 to e992ae6 Compare February 16, 2026 19:17
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
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Fix in Cursor Fix in Web

@cursor
Copy link
Copy Markdown

cursor bot commented Feb 16, 2026

Bugbot Autofix prepared fixes for 1 of the 1 bugs found in the latest run.

  • ✅ Fixed: AGP 9.0 built-in Kotlin conflicts with separate plugin
    • Removed the standalone org.jetbrains.kotlin.android plugin from settings.gradle and the kotlin-android plugin from app/build.gradle to use AGP 9.0's built-in Kotlin support.

Create PR

Or push these changes by commenting:

@cursor push a01615435d
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"

@renovate-sh-app renovate-sh-app bot force-pushed the renovate/com.android.application-9.x branch 5 times, most recently from b30785c to 18f0898 Compare March 6, 2026 10:16
Copy link
Copy Markdown

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.enableJetifier flag
    • Removed android.enableJetifier=true from example/android/gradle.properties, eliminating the unsupported AGP 9.0 property.

Create PR

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

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
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Fix in Cursor Fix in Web

@renovate-sh-app renovate-sh-app bot force-pushed the renovate/com.android.application-9.x branch 2 times, most recently from 7796802 to 0e0b372 Compare March 8, 2026 22:15
Copy link
Copy Markdown

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Create PR

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
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Fix in Cursor Fix in Web

@renovate-sh-app renovate-sh-app bot force-pushed the renovate/com.android.application-9.x branch 3 times, most recently from 54e8d96 to 6955d60 Compare March 9, 2026 13:16
Copy link
Copy Markdown

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 compileSdkVersion API breaks build with AGP 9.x
    • I migrated compileSdkVersion, minSdkVersion, and targetSdkVersion usages in example/android/app/build.gradle to compileSdk, minSdk, and targetSdk for AGP 9.x compatibility.

Create PR

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
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Fix in Cursor Fix in Web

| 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>
@renovate-sh-app renovate-sh-app bot force-pushed the renovate/com.android.application-9.x branch from 6955d60 to 735fb37 Compare March 9, 2026 16:15
@robert-northmind robert-northmind mentioned this pull request Mar 9, 2026
10 tasks
@robert-northmind
Copy link
Copy Markdown
Collaborator

Closing: AGP 9 requires Gradle 9 and would break consumers still on AGP 8. Deferring until the Flutter/Android ecosystem has broader adoption.

robert-northmind added a commit that referenced this pull request Mar 10, 2026
<!-- 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>&nbsp;<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>&nbsp;</p>


<!-- CURSOR_AGENT_PR_BODY_END -->

---------

Co-authored-by: Robert Magnusson <robert-northmind@users.noreply.github.com>
@renovate-sh-app
Copy link
Copy Markdown
Author

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 9.x releases. But if you manually upgrade to 9.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate-sh-app renovate-sh-app bot deleted the renovate/com.android.application-9.x branch March 10, 2026 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant