rive-flutter
rive-flutter copied to clipboard
Large .pub-cache size for android builds
Description
When building apps using rive 0.10.x the ~/.pub-cache/hosted/pub.dev/rive_common-0.0.x
folder gets quite large
Steps To Reproduce
- clone https://github.com/mjtalbot/rive-demo
- build for android
flutter build apk --debug
orflutter build apk
- check
~/.pub-cache
Expected behavior
Ideally the .pub-cache can be smaller, so it plays nicer with CI
Screenshots
After building for macos & android the file sizes in .pub-cache look something like this
du -d1 -h ~/.pub-cache/hosted/pub.dev/rive_common-0.0.5
25M /Users/maxwelltalbot/.pub-cache/hosted/pub.dev/rive_common-0.0.5/macos
4.0K /Users/maxwelltalbot/.pub-cache/hosted/pub.dev/rive_common-0.0.5/shared_lib
1.6M /Users/maxwelltalbot/.pub-cache/hosted/pub.dev/rive_common-0.0.5/test
332K /Users/maxwelltalbot/.pub-cache/hosted/pub.dev/rive_common-0.0.5/wasm
25M /Users/maxwelltalbot/.pub-cache/hosted/pub.dev/rive_common-0.0.5/ios
506M /Users/maxwelltalbot/.pub-cache/hosted/pub.dev/rive_common-0.0.5/android
156K /Users/maxwelltalbot/.pub-cache/hosted/pub.dev/rive_common-0.0.5/lib
16K /Users/maxwelltalbot/.pub-cache/hosted/pub.dev/rive_common-0.0.5/windows
558M /Users/maxwelltalbot/.pub-cache/hosted/pub.dev/rive_common-0.0.5
any news?