-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.yaml
53 lines (53 loc) · 1.61 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:
- lib/**.dart
# required
- pubspec.*
## synthetic files
- $package$
- lib/$lib$
builders:
auto_route_generator:
# configs for the @RoutePage() generator
options:
enable_cached_builds: true
generate_for:
- lib/src/features/*/presentation/*/*_page.dart
- lib/src/app/wrapper_page.dart
auto_route_generator:auto_router_generator:
# configs for the @AutoRouterConfig() generator
options:
enable_cached_builds: true
generate_for:
- lib/src/app/router.dart
auto_route_generator:auto_router_module_generator:
enabled: false
freezed:
# configs for the @freezed generator
generate_for:
- lib/src/utils/**.dart
- lib/src/features/*/domain/*_model.dart
options:
map: false
when: false
json_serializable:
# configs for the @JsonSerializable generator
generate_for:
- lib/src/utils/**.dart
- lib/src/features/*/domain/*_model.dart
riverpod_generator:
# configs for the @riverpod generator
generate_for:
- lib/src/utils/**.dart
- lib/src/features/*/data/*_repository.dart
- lib/src/features/*/application/*_service.dart
flutter_gen_runner:
# configs for the flutter.assets generator
generate_for:
- $package$
build_version:
# configs for the packageVersion generator...
options:
output: lib/gen/version.gen.dart