GradleConfig.fromYaml constructor

GradleConfig.fromYaml(
  1. YamlMap m
)

Parses the gradle: sub-map.

Implementation

factory GradleConfig.fromYaml(YamlMap m) {
  return GradleConfig(
    plugins: _mapList(m['plugins'], GradlePluginSpec.fromYaml),
    deps: _mapList(m['dependencies'], GradleDepSpec.fromYaml),
  );
}