-
Notifications
You must be signed in to change notification settings - Fork 16
/
build.yaml
45 lines (45 loc) · 1.27 KB
/
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# builders:
# markdown:
# import: "package:minsk8/common/markdown_builder.dart"
# builder_factories:
# - markdownBuilder
# build_extensions:
# .md:
# - .html
# auto_apply: root_package
# required_inputs:
# - .md
# build_to: source
targets:
$default:
builders:
copy_with_extension_gen:
generate_for:
- lib/cubits/*.dart
- lib/models/*.dart
json_serializable_immutable_collections:
generate_for:
- lib/cubits/*.dart
- lib/models/*.dart
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: false
create_factory: true
create_to_json: true
disallow_unrecognized_keys: false
explicit_to_json: true # changed
field_rename: snake # changed
ignore_unannotated: false
include_if_null: true
nullable: false # changed
json_serializable:
generate_for:
exclude:
- lib/**.dart
- test/**.dart
- test_driver/**.dart
- build/**.dart