From 9ce5326535179c3fe75d0c7b27ac12a5b9f6ace0 Mon Sep 17 00:00:00 2001 From: Ducky Date: Sat, 17 Feb 2024 21:45:37 +0300 Subject: [PATCH] build optimisations --- app/.gitignore | 3 ++- app/app/build.gradle | 16 ++++------------ 2 files changed, 6 insertions(+), 13 deletions(-) diff --git a/app/.gitignore b/app/.gitignore index 3214f7d..13e5581 100644 --- a/app/.gitignore +++ b/app/.gitignore @@ -13,4 +13,5 @@ .externalNativeBuild .cxx local.properties -key.jks \ No newline at end of file +key.jks +builds \ No newline at end of file diff --git a/app/app/build.gradle b/app/app/build.gradle index 1e9fe9e..9c0b3e0 100644 --- a/app/app/build.gradle +++ b/app/app/build.gradle @@ -5,13 +5,14 @@ plugins { android { namespace 'com.signsense.app' compileSdk 34 + String appVersion = "1.0.0" defaultConfig { applicationId "com.signsense.app" minSdk 26 targetSdk 34 versionCode 1 - versionName "1.0.0" + versionName appVersion testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } @@ -21,9 +22,11 @@ android { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' applicationIdSuffix 'signsense' + versionNameSuffix appVersion } debug { applicationIdSuffix 'signsense' + versionNameSuffix appVersion } } @@ -54,17 +57,6 @@ dependencies { implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.7.0' implementation 'androidx.preference:preference:1.2.1' - testImplementation 'junit:junit:4.13.2' - - androidTestImplementation 'androidx.test.ext:junit:1.1.5' - androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1' - - // Android Camera - implementation 'androidx.camera:camera-core:1.3.1' - implementation 'androidx.camera:camera-camera2:1.3.1' - implementation 'androidx.camera:camera-lifecycle:1.3.1' - implementation 'androidx.camera:camera-view:1.3.1' - // OpenCV //implementation 'com.quickbirdstudios:opencv-contrib:4.5.3.0' implementation project(':opencv')