leanflutter / flutter_distributor

An all-in-one Flutter application packaging and distribution tool, providing you with a one-stop solution to meet various distribution needs.
https://distributor.leanflutter.dev/
MIT License
812 stars 114 forks source link

How to set build args split-per-abi #86

Closed Adherentman closed 2 years ago

Adherentman commented 2 years ago

When packaging, for the size of the package, I used flutter build apk --split-per-abi, how to set this parameter in yaml

lijy91 commented 2 years ago

you can try like this

releases:
  - name: release-android
    jobs:
      - name: release-android-dev
        package:
          platform: android
          target: apk
          channel: dev2
          build_args:
            split-per-abi: ''
            flavor: dev
            dart-define:
              APP_ENV: dev
Adherentman commented 2 years ago

try this I get error.

CleanShot 2022-08-03 at 17 17 44@2x