-
Notifications
You must be signed in to change notification settings - Fork 30.5k
Exclude dev dependencies in showLicensePage #100746
Copy link
Copy link
Open
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projectc: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Flutterf: material designflutter/packages/flutter/material repository.flutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.team-designOwned by Design Languages teamOwned by Design Languages teamtriaged-designTriaged by Design Languages teamTriaged by Design Languages team
Metadata
Metadata
Assignees
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projectc: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Flutterf: material designflutter/packages/flutter/material repository.flutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.team-designOwned by Design Languages teamOwned by Design Languages teamtriaged-designTriaged by Design Languages teamTriaged by Design Languages team
Type
Fields
Give feedbackNo fields configured for issues without a type.
Use case
My current project requires an OSS license acknowledgement page, which I conveniently have Flutter generate by means of
showLicensePage(context).When inspecting the licenses, I observe the list also includes all our development dependencies.
Our legal department instructs me I should not include dependencies that are not delivered with my app, like dependencies on testing tools.
Proposal
Please provide a means to omit all "dev_dependencies", or perhaps allow for an explicit list of packages to omit. This would provide more control over the packages included in the licenses list.