-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projecta: assetsPackaging, accessing, or using assetsPackaging, accessing, or using assetsa: buildBuilding flutter applications with the toolBuilding flutter applications with the toola: releaseChallenges faced when attempting to productionize an appChallenges faced when attempting to productionize an appa: sizeReducing IPA/APK/JS sizesReducing IPA/APK/JS sizesc: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Flutterteam-toolOwned by Flutter Tool teamOwned by Flutter Tool teamtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.triaged-toolTriaged by Flutter Tool teamTriaged by Flutter Tool team
Description
Steps to Reproduce
See example project https://github.com/rh-id/example_dev_dependency_fi for the steps
Expected results: Flutter should ignore package assets declared under dev_dependency on release bundle / version
Actual results: Flutter include the package assets declared under dev_dependency on release bundle / version
Logs
[✓] Flutter (Channel stable, 2.0.2, on Linux, locale en_US.UTF-8)
• Flutter version 2.0.2 at /home/rubyh/Flutter/flutter
• Framework revision 8962f6dc68 (3 weeks ago), 2021-03-11 13:22:20 -0800
• Engine revision 5d8bf811b3
• Dart version 2.12.1
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at /home/rubyh/Android/Sdk
• Platform android-30, build-tools 30.0.3
• ANDROID_HOME = /home/rubyh/Android/Sdk
• ANDROID_SDK_ROOT = /home/rubyh/Android/Sdk
• Java binary at: /usr/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.10+9-Ubuntu-0ubuntu1.20.04)
• All Android licenses accepted.
Related Issues:
Do not create plugins from dev_dependencies #56591
Don't include dev_dependencies in native build scripts #45714
integration_test embedded in shipping iOS apps when added to pubspec #74274
Matthiee, e-denar, dkbast, fzyzcjy, bramp and 16 more
Metadata
Metadata
Assignees
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projecta: assetsPackaging, accessing, or using assetsPackaging, accessing, or using assetsa: buildBuilding flutter applications with the toolBuilding flutter applications with the toola: releaseChallenges faced when attempting to productionize an appChallenges faced when attempting to productionize an appa: sizeReducing IPA/APK/JS sizesReducing IPA/APK/JS sizesc: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Flutterteam-toolOwned by Flutter Tool teamOwned by Flutter Tool teamtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.triaged-toolTriaged by Flutter Tool teamTriaged by Flutter Tool team