Update build configuration

Update the build config to further optimize the app
- Removed the browser dependency [-10k]
- Enabled resource minification [-100k]
This commit is contained in:
OxygenCobalt
2021-03-26 10:54:21 -06:00
parent b65814fdbd
commit 076d2b3d7e
2 changed files with 16 additions and 31 deletions
+3 -5
View File
@@ -29,6 +29,7 @@ android {
release {
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro"
}
}
@@ -62,8 +63,8 @@ dependencies {
// General
implementation "androidx.core:core-ktx:1.3.2"
implementation "androidx.activity:activity-ktx:1.2.1"
implementation "androidx.fragment:fragment-ktx:1.3.0"
implementation "androidx.activity:activity-ktx:1.2.2"
implementation "androidx.fragment:fragment-ktx:1.3.1"
// UI
implementation "androidx.recyclerview:recyclerview:1.1.0"
@@ -88,9 +89,6 @@ dependencies {
// Preferences
implementation "androidx.preference:preference-ktx:1.1.1"
// Opening links
implementation "androidx.browser:browser:1.3.0"
// --- THIRD PARTY ---
// ExoPlayer