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:
parent
1ec24a38a5
commit
d504df9cd3
3 changed files with 6 additions and 0 deletions
|
@ -21,6 +21,7 @@ android {
|
|||
buildTypes {
|
||||
release {
|
||||
minifyEnabled true
|
||||
shrinkResources true
|
||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
||||
}
|
||||
}
|
||||
|
|
3
app/src/main/res/raw/keep.xml
Normal file
3
app/src/main/res/raw/keep.xml
Normal file
|
@ -0,0 +1,3 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources xmlns:tools="http://schemas.android.com/tools"
|
||||
tools:shrinkMode="strict" />
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue