Enable more thorough resource shrinking.

This commit is contained in:
Phil Jones 2022-04-29 10:47:48 +01:00
parent 8c1b41e9ec
commit 9b60770655
No known key found for this signature in database
GPG Key ID: 7E6F59EE25CDC6A5
2 changed files with 7 additions and 1 deletions

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

@ -16,5 +16,8 @@ android.enableR8.fullMode=true
android.enableResourceOptimizations=true
android.useAndroidX=true
kotlin.code.style=official
org.gradle.jvmargs=-Xmx2048M -Dkotlin.daemon.jvm.options\="-Xmx2048M"
org.gradle.jvmargs=-Xmx2048M -XX:+UseParallelGC -Dkotlin.daemon.jvm.options\="-Xmx2048M"
android.experimental.enableNewResourceShrinker.preciseShrinking=true
org.gradle.warning.mode=all
org.gradle.parallel=true
org.gradle.caching=true