mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
The dart SDK needs to ship several packages which have opted into null safety for the tech preview. This requires the use of a package_config.json for compilation as this file contains the language versions. Use a dart script to generate the package_config file from the .packages file, and include that in the DEPS hooks section. Fixes flutter/flutter#60628
9 lines
134 B
YAML
9 lines
134 B
YAML
name: generate_package_config
|
|
environment:
|
|
sdk: ">=2.8.0 <3.0.0"
|
|
|
|
dependencies:
|
|
yaml: any
|
|
pub_semver: any
|
|
package_config: any
|