forked from 0xPolygonID/polygonid-flutter-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.yaml
29 lines (29 loc) · 893 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:
sources:
include:
- lib/**
- test/**
- $package$
builders:
injectable_generator:injectable_builder:
options:
auto_register: true
# auto registers any class with a name matches the given pattern
class_name_pattern:
"^.*UseCase$|^.*Mapper$|^.*RepositoryImpl$|^.*DataSource$"
# auto registers any class inside a file with a
# name matches the given pattern
# file_name_pattern: "_bloc$|_use_case$|_data_source$|_mapper"
injectable_generator:injectable_config_builder:
generate_for:
include:
- lib/**/*.dart
mockito:mockBuilder:
generate_for:
include:
- test/**/*.dart
json_serializable:json_serializable:
generate_for:
include:
- lib/**/*.dart