From c7e5b1ab7bff7dd5963f22e4b6e48554e343d892 Mon Sep 17 00:00:00 2001 From: Thibault Deckers Date: Thu, 26 Sep 2024 23:11:49 +0200 Subject: [PATCH] android: app build cleanup --- android/app/build.gradle | 28 +++------------------------- 1 file changed, 3 insertions(+), 25 deletions(-) diff --git a/android/app/build.gradle b/android/app/build.gradle index 897c3c32d..2bf34a887 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -10,18 +10,6 @@ plugins { def packageName = "deckers.thibault.aves" -// Flutter properties - -def localProperties = new Properties() -def localPropertiesFile = rootProject.file('local.properties') -if (localPropertiesFile.exists()) { - localPropertiesFile.withReader('UTF-8') { reader -> - localProperties.load(reader) - } -} -def flutterVersionCode = localProperties.getProperty('flutter.versionCode') -def flutterVersionName = localProperties.getProperty('flutter.versionName') - // Keys def keystoreProperties = new Properties() @@ -53,22 +41,12 @@ android { targetCompatibility JavaVersion.VERSION_21 } - lint { - checkAllWarnings true - warningsAsErrors true - disable 'InvalidPackage' - } - - sourceSets { - main.java.srcDirs += 'src/main/kotlin' - } - defaultConfig { applicationId packageName minSdk flutter.minSdkVersion targetSdk 35 - versionCode flutterVersionCode.toInteger() - versionName flutterVersionName + versionCode flutter.versionCode + versionName flutter.versionName manifestPlaceholders = [googleApiKey: keystoreProperties["googleApiKey"] ?: ""] multiDexEnabled true } @@ -189,7 +167,7 @@ dependencies { implementation "androidx.appcompat:appcompat:1.7.0" implementation 'androidx.core:core-ktx:1.13.1' - implementation 'androidx.lifecycle:lifecycle-process:2.8.5' + implementation 'androidx.lifecycle:lifecycle-process:2.8.6' implementation 'androidx.media:media:1.7.0' implementation 'androidx.multidex:multidex:2.0.1' implementation 'androidx.security:security-crypto:1.1.0-alpha06'