Browse Source

dynamite, nextcloud: enable built_value

Signed-off-by: Nikolas Rimikis <rimikis.nikolas@gmail.com>
pull/194/head
Nikolas Rimikis 2 years ago
parent
commit
68624545e6
No known key found for this signature in database
GPG Key ID: 85ED1DE9786A4FF2
  1. 4
      packages/dynamite/build.yaml
  2. 6
      packages/nextcloud/build.yaml
  3. 4
      packages/nextcloud/pubspec.yaml

4
packages/dynamite/build.yaml

@ -18,5 +18,5 @@ builders:
build_extensions: {'.openapi.json': ['openapi.dart']}
auto_apply: root_package
build_to: source
runs_before: ["json_serializable"]
applies_builders: ["json_serializable"]
runs_before: ["built_value_generator|built_value"]
applies_builders: ["built_value_generator|built_value"]

6
packages/nextcloud/build.yaml

@ -1,7 +1,5 @@
targets:
$default:
builders:
json_serializable:
options:
disallow_unrecognized_keys: true
explicit_to_json: true
built_value_generator|built_value:
enabled: true

4
packages/nextcloud/pubspec.yaml

@ -5,11 +5,12 @@ environment:
sdk: '>=3.0.0 <4.0.0'
dependencies:
built_collection: ^5.1.1
built_value: ^8.5.0
cookie_jar: ^4.0.2
crypto: ^3.0.3
crypton: ^2.0.5
intl: ^0.18.0
json_annotation: ^4.8.1
universal_io: ^2.2.0
version: ^3.0.2
xml: ^6.3.0
@ -20,7 +21,6 @@ dev_dependencies:
coverage: ^1.6.3
dynamite:
path: ../dynamite
json_serializable: ^6.6.2
nit_picking:
git:
url: https://github.com/stack11/dart_nit_picking

Loading…
Cancel
Save