From 80d9fd6749c8e6ac8d47f0d9ed8dc4e37fda62e0 Mon Sep 17 00:00:00 2001 From: Ivan Date: Sat, 25 Apr 2026 16:24:30 -0500 Subject: [PATCH] chore(android): update Gradle plugin and SDK versions, enhance dependencies, and add Lint configuration --- android/app/build.gradle | 26 ++++++++++++++++---------- android/build.gradle | 2 +- 2 files changed, 17 insertions(+), 11 deletions(-) diff --git a/android/app/build.gradle b/android/app/build.gradle index dbc78ba..68c2327 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -40,12 +40,12 @@ def enableAbiSplits = meshchatxAbiPackaging == "split" && selectedAndroidAbis.si android { namespace 'com.meshchatx' - compileSdk 34 + compileSdk 35 defaultConfig { applicationId "com.meshchatx" minSdk 24 - targetSdk 34 + targetSdk 35 versionCode 1 versionName "3.1.0" @@ -84,6 +84,11 @@ android { useLegacyPackaging = true } } + + lint { + abortOnError true + checkReleaseBuilds false + } } tasks.register("fetchRepositoryBundledWheels", Exec) { @@ -182,13 +187,14 @@ chaquopy { } dependencies { - implementation 'androidx.appcompat:appcompat:1.6.1' - implementation 'com.google.android.material:material:1.10.0' - implementation 'androidx.constraintlayout:constraintlayout:2.1.4' - implementation 'androidx.webkit:webkit:1.8.0' - implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.6.2' - + implementation 'androidx.core:core:1.16.0' + implementation 'com.squareup.okhttp3:okhttp:4.12.0' + implementation 'androidx.appcompat:appcompat:1.7.1' + implementation 'com.google.android.material:material:1.13.0' + implementation 'androidx.constraintlayout:constraintlayout:2.2.1' + implementation 'androidx.webkit:webkit:1.14.0' + implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.8.7' testImplementation 'junit:junit:4.13.2' - androidTestImplementation 'androidx.test.ext:junit:1.1.5' - androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1' + androidTestImplementation 'androidx.test.ext:junit:1.2.1' + androidTestImplementation 'androidx.test.espresso:espresso-core:3.6.1' } diff --git a/android/build.gradle b/android/build.gradle index a21ca34..f56b334 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -5,7 +5,7 @@ buildscript { maven { url "https://chaquo.com/maven" } } dependencies { - classpath 'com.android.tools.build:gradle:8.7.3' + classpath 'com.android.tools.build:gradle:8.10.1' classpath "com.chaquo.python:gradle:16.1.0" } }