-
-
Notifications
You must be signed in to change notification settings - Fork 26
/
build.yaml
53 lines (51 loc) · 1.38 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
46
47
48
49
50
51
52
53
targets:
$default:
sources:
include:
- $package$
- lib/$lib$
- pubspec.*
gamedata:
sources:
include:
- lib/models/gamedata/**
builders:
source_gen|combining_builder:
options:
build_extensions:
'lib/models/{{0}}/{{1}}.dart': 'lib/generated/models/{{0}}/{{1}}.g.dart'
json_serializable:
options:
any_map: true
checked: false
create_factory: true
create_to_json: true
disallow_unrecognized_keys: false
explicit_to_json: true
field_rename: none
generic_argument_factories: true
ignore_unannotated: false
include_if_null: true
userdata:
sources:
include:
- lib/models/api/**
- lib/models/userdata/**
- lib/models/shared/**
builders:
source_gen|combining_builder:
options:
build_extensions:
'lib/models/{{0}}/{{1}}.dart': 'lib/generated/models/{{0}}/{{1}}.g.dart'
json_serializable:
options:
any_map: true
checked: true
create_factory: true
create_to_json: true
disallow_unrecognized_keys: false
explicit_to_json: true
field_rename: none
generic_argument_factories: true
ignore_unannotated: false
include_if_null: true