-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.yaml
29 lines (28 loc) · 943 Bytes
/
build.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
targets:
$default:
builders:
json_serializable:
options:
# Options configure how source code is generated for every
# `@JsonSerializable`-annotated class in the package.
#
# The default value for each is listed.
any_map: false
checked: true
create_factory: true
create_to_json: true
disallow_unrecognized_keys: false
explicit_to_json: true
field_rename: snake
generic_argument_factories: false
ignore_unannotated: false
include_if_null: true
# A SharedPartBuilder which uses the combining builder
source_gen|combining_builder:
options:
build_extensions:
'^lib/src/{{}}.dart': 'lib/src/generated/{{}}.g.dart'
freezed:
options:
build_extensions:
'^lib/src/{{}}.dart': 'lib/src/generated/{{}}.freezed.dart'