Skip to content

feat: bump Android Gradle Plugin to 9.0.1 and dependencies #14984

Draft
kmiit wants to merge 4 commits intotauri-apps:devfrom
kmiit:dev
Draft

feat: bump Android Gradle Plugin to 9.0.1 and dependencies #14984
kmiit wants to merge 4 commits intotauri-apps:devfrom
kmiit:dev

Conversation

@kmiit
Copy link
Copy Markdown

@kmiit kmiit commented Feb 22, 2026

This PR updates the Android build environment and dependencies to leverage latest tooling and frameworks for improved stability and compatibility.

What's Changed

Dependencies

  • Gradle: 8.14.3 → 9.3.1
  • Android Gradle Plugin: 8.11.0 → 9.0.1
  • Kotlin: 1.9.25 → 2.3.10
  • Kotlin Gradle Plugin: 1.8.20 → 9.0.1
  • androidx.core:core-ktx: 1.7.0 → 1.17.0
  • androidx.appcompat:appcompat: 1.6.0 → 1.7.1
  • androidx.activity:activity-ktx: 1.10.1 → 1.12.4
  • androidx.webkit:webkit: 1.14.0 → 1.15.0
  • com.google.android.material:material: 1.12.0 → 1.13.0
  • androidx.test.ext:junit: 1.1.4 → 1.3.0
  • androidx.test.espresso:espresso-core: 3.5.0 → 3.7.0

Kotlin

  • Update JVM target to Java 24

Gradle

  • Add -Dlint.use.fir.uast=false flag for FIR compatibility

- Update AGP from 8.11.0 to 9.0.1
- Update Kotlin Gradle Plugin to 2.3.10
- Update Gradle wrapper to 9.3.1
- Update Android dependencies (webkit, activity-ktx, material, etc.)
- Modernize build scripts for AGP 9.0 compatibility
- Remove deprecated kotlinOptions, use jvmToolchain instead
@kmiit kmiit requested a review from a team as a code owner February 22, 2026 07:38
@github-project-automation github-project-automation bot moved this to 📬Proposal in Roadmap Feb 22, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 22, 2026

Package Changes Through 5c2cf12

There are 3 changes which include tauri-cli with patch, @tauri-apps/cli with patch, tauri-bundler with patch

Planned Package Versions

The following package releases are the planned based on the context of changes in this pull request.

package current next
tauri-bundler 2.8.0 2.8.1
@tauri-apps/cli 2.10.0 2.10.1
tauri-cli 2.10.0 2.10.1

Add another change file through the GitHub UI by following this link.


Read about change files or the docs at github.com/jbolda/covector

Signed-off-by: kmiit <kmiit@foxmail.com>
@FabianLars
Copy link
Copy Markdown
Member

thanks for the PR! Many of the changes look breaking to me, right? These would have to wait until tauri v3 :)

i'm not toooo familiar with android development but the tauri crate changes in particular look breaking, but also a few of the template changes e.g. java and kotlin versions.

@FabianLars FabianLars added the type: breaking change This issue or pull request will introduce a breaking change and requires major version bump label Feb 23, 2026
@kmiit kmiit marked this pull request as draft February 23, 2026 10:41
@kmiit
Copy link
Copy Markdown
Author

kmiit commented Feb 23, 2026

thanks for the PR! Many of the changes look breaking to me, right? These would have to wait until tauri v3 :)

i'm not toooo familiar with android development but the tauri crate changes in particular look breaking, but also a few of the template changes e.g. java and kotlin versions.

yes, this will break a lot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: breaking change This issue or pull request will introduce a breaking change and requires major version bump

Projects

Status: 📬Proposal

Development

Successfully merging this pull request may close these issues.

2 participants