Enable R8

This commit is contained in:
stonegate 2020-07-16 19:30:08 +08:00
parent 65c22d7f61
commit bd350dac27
2 changed files with 3 additions and 3 deletions

View File

@ -20,9 +20,9 @@ jobs:
- run: dart tool/env.dart
- run:
name: Build the Android version
command: flutter build appbundle --no-shrink --obfuscate --split-debug-info=debug/
command: flutter build appbundle --obfuscate --split-debug-info=debug/
- run:
name: Build the Android apk
command: flutter build apk --split-per-abi --no-shrink --obfuscate --split-debug-info=debug/
command: flutter build apk --split-per-abi --obfuscate --split-debug-info=debug/
- store_artifacts:
path: build/app/outputs/

View File

@ -1,4 +1,4 @@
org.gradle.jvmargs=-Xmx1536M
android.enableR8=false
android.enableR8=true
android.useAndroidX=true
android.enableJetifier=true