1
0
Fork 0
mirror of https://github.com/Corewala/Buran synced 2024-12-22 07:42:43 +00:00

Enabled more optimisation

The APK is so tiny and runs even faster now. How did I not do this earlier?
This commit is contained in:
Corewala 2022-05-26 12:42:16 -04:00
parent 1ec24a38a5
commit d504df9cd3
3 changed files with 6 additions and 0 deletions

View file

@ -21,6 +21,7 @@ android {
buildTypes { buildTypes {
release { release {
minifyEnabled true minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
} }
} }

View file

@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<resources xmlns:tools="http://schemas.android.com/tools"
tools:shrinkMode="strict" />

View file

@ -22,3 +22,5 @@ kotlin.code.style=official
# Kapt workaround # Kapt workaround
kapt.use.worker.api=false kapt.use.worker.api=false
kapt.incremental.apt=false kapt.incremental.apt=false
# R8 optimisation
android.enableR8.fullMode=true