From bd350dac271e04f7ca6b14dd2678412918660194 Mon Sep 17 00:00:00 2001 From: stonegate Date: Thu, 16 Jul 2020 19:30:08 +0800 Subject: [PATCH] Enable R8 --- .circleci/config.yml | 4 ++-- android/gradle.properties | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 0f10d9f..9069326 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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/ diff --git a/android/gradle.properties b/android/gradle.properties index b92fcf3..38c8d45 100644 --- a/android/gradle.properties +++ b/android/gradle.properties @@ -1,4 +1,4 @@ org.gradle.jvmargs=-Xmx1536M -android.enableR8=false +android.enableR8=true android.useAndroidX=true android.enableJetifier=true