Enable obfuscate in build.

This commit is contained in:
stonegate 2020-07-16 18:31:45 +08:00
parent bd297c3c90
commit f907dc6578
1 changed files with 4 additions and 4 deletions

View File

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