1
0
Fork 0
mirror of https://github.com/Corewala/Buran synced 2024-12-21 15:22:45 +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 {
release {
minifyEnabled true
shrinkResources true
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.use.worker.api=false
kapt.incremental.apt=false
# R8 optimisation
android.enableR8.fullMode=true