forked from FlutterKaigi/conference-app-2023
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.yaml
43 lines (43 loc) · 1.18 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
targets:
$default:
builders:
flutter_gen_runner:
generate_for:
include:
- $package$
- pubspec.yaml
freezed:
generate_for:
include:
- lib/**.dart
options:
map: false
when: false
json_serializable:
generate_for:
include:
- lib/**.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: true # false -> true
create_factory: true
create_to_json: true
disallow_unrecognized_keys: false
explicit_to_json: true
field_rename: snake # none -> snake
generic_argument_factories: false
ignore_unannotated: false
include_if_null: true
riverpod_generator:
generate_for:
include:
- lib/**.dart
go_router_builder:
generate_for:
include:
- lib/ui/router/router_app.dart
- lib/ui/router/router_debug.dart