forked from 0xPolygonID/polygonid-flutter-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.yaml
38 lines (37 loc) · 1.09 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
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
builders:
abi_generator:
build_extensions:
".abi.json": [".g.dart"]
import: "package:web3dart_builders/builders.dart"
builder_factories: ["abiGenerator"]
build_to: source
auto_apply: dependents