Skip to content

Build your personal knowledge base with Trilium Notes

fix(mobile): pin Android Gradle Plugin to 9.1.1 and stop Renovate bumping it

Elian Doranbdd9ea9d24a0
diff --git a/apps/mobile/android/build.gradle b/apps/mobile/android/build.gradle
index 70bb56fc47..2bf797b650 100644
--- a/apps/mobile/android/build.gradle
+++ b/apps/mobile/android/build.gradle
@@ -7,7 +7,7 @@ buildscript {
mavenCentral()
}
dependencies {
- classpath 'com.android.tools.build:gradle:9.2.1'
+ classpath 'com.android.tools.build:gradle:9.1.1'
classpath 'com.google.gms:google-services:4.4.4'
// NOTE: Do not place your application dependencies here; they belong
diff --git a/renovate.json b/renovate.json
index 2cf52e1b31..b70eb08922 100644
--- a/renovate.json
+++ b/renovate.json
@@ -32,6 +32,11 @@
"enabled": true
},
"packageRules": [
+ {
+ "description": "Never auto-update the Android Gradle Plugin; it must track the installed Android Studio, not the latest release",
+ "matchPackageNames": ["com.android.tools.build:gradle"],
+ "enabled": false
+ },
{
"matchPackageNames": ["@fsegurai/codemirror-theme-**", "@catppuccin/codemirror"],
"groupName": "codemirror themes"