fix(deps): update android.gradle.plugin to v8.13.1 (#5260)

* fix(deps): update android.gradle.plugin to v8.13.1

* Remove warning about AGP 8.12.x+

* Fix proguard-related code deprecations, use the new `optimization` API

* Workaround issues related to Android lint not being able to check these complex methods with kotlin contracts

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
This commit is contained in:
renovate[bot] 2025-11-26 11:57:22 +01:00 committed by GitHub
parent 9574191d6c
commit 84d368741a
6 changed files with 40 additions and 26 deletions

View file

@ -3,8 +3,7 @@
[versions]
# Project
# We cannot use 8.12.+ since it breaks F-Droid build (see https://github.com/element-hq/element-x-android/issues/3420#issuecomment-3199571010)
android_gradle_plugin = "8.11.1"
android_gradle_plugin = "8.13.1"
# When updateing this, please also update the version in the file ./idea/kotlinc.xml
kotlin = "2.2.20"
kotlinpoet = "2.2.0"