diff --git a/build.disabled.yaml b/build.disabled.yaml index 8654afb..2eed503 100644 --- a/build.disabled.yaml +++ b/build.disabled.yaml @@ -10,5 +10,5 @@ builders: builder_factories: - "builtValueBuilder" build_extensions: - ".dart": ".g.dart" + ".dart": [".g.dart"] build_to: "source" diff --git a/lib/src/specs/class.g.dart b/lib/src/specs/class.g.dart index f3746f2..68cff19 100644 --- a/lib/src/specs/class.g.dart +++ b/lib/src/specs/class.g.dart @@ -3,13 +3,15 @@ part of 'class.dart'; // ************************************************************************** -// Generator: BuiltValueGenerator +// BuiltValueGenerator // ************************************************************************** // ignore_for_file: always_put_control_body_on_new_line // ignore_for_file: annotate_overrides // ignore_for_file: avoid_annotating_with_dynamic +// ignore_for_file: avoid_catches_without_on_clauses // ignore_for_file: avoid_returning_this +// ignore_for_file: lines_longer_than_80_chars // ignore_for_file: omit_local_variable_types // ignore_for_file: prefer_expression_function_bodies // ignore_for_file: sort_constructors_first diff --git a/lib/src/specs/code.g.dart b/lib/src/specs/code.g.dart index 5c0f4e6..5243ec8 100644 --- a/lib/src/specs/code.g.dart +++ b/lib/src/specs/code.g.dart @@ -3,13 +3,15 @@ part of 'code.dart'; // ************************************************************************** -// Generator: BuiltValueGenerator +// BuiltValueGenerator // ************************************************************************** // ignore_for_file: always_put_control_body_on_new_line // ignore_for_file: annotate_overrides // ignore_for_file: avoid_annotating_with_dynamic +// ignore_for_file: avoid_catches_without_on_clauses // ignore_for_file: avoid_returning_this +// ignore_for_file: lines_longer_than_80_chars // ignore_for_file: omit_local_variable_types // ignore_for_file: prefer_expression_function_bodies // ignore_for_file: sort_constructors_first diff --git a/lib/src/specs/constructor.g.dart b/lib/src/specs/constructor.g.dart index d08f35e..efc08f2 100644 --- a/lib/src/specs/constructor.g.dart +++ b/lib/src/specs/constructor.g.dart @@ -3,13 +3,15 @@ part of 'constructor.dart'; // ************************************************************************** -// Generator: BuiltValueGenerator +// BuiltValueGenerator // ************************************************************************** // ignore_for_file: always_put_control_body_on_new_line // ignore_for_file: annotate_overrides // ignore_for_file: avoid_annotating_with_dynamic +// ignore_for_file: avoid_catches_without_on_clauses // ignore_for_file: avoid_returning_this +// ignore_for_file: lines_longer_than_80_chars // ignore_for_file: omit_local_variable_types // ignore_for_file: prefer_expression_function_bodies // ignore_for_file: sort_constructors_first diff --git a/lib/src/specs/directive.g.dart b/lib/src/specs/directive.g.dart index 2dfe91a..a1717b2 100644 --- a/lib/src/specs/directive.g.dart +++ b/lib/src/specs/directive.g.dart @@ -3,13 +3,15 @@ part of 'directive.dart'; // ************************************************************************** -// Generator: BuiltValueGenerator +// BuiltValueGenerator // ************************************************************************** // ignore_for_file: always_put_control_body_on_new_line // ignore_for_file: annotate_overrides // ignore_for_file: avoid_annotating_with_dynamic +// ignore_for_file: avoid_catches_without_on_clauses // ignore_for_file: avoid_returning_this +// ignore_for_file: lines_longer_than_80_chars // ignore_for_file: omit_local_variable_types // ignore_for_file: prefer_expression_function_bodies // ignore_for_file: sort_constructors_first diff --git a/lib/src/specs/field.g.dart b/lib/src/specs/field.g.dart index 1589839..3bef453 100644 --- a/lib/src/specs/field.g.dart +++ b/lib/src/specs/field.g.dart @@ -3,13 +3,15 @@ part of 'field.dart'; // ************************************************************************** -// Generator: BuiltValueGenerator +// BuiltValueGenerator // ************************************************************************** // ignore_for_file: always_put_control_body_on_new_line // ignore_for_file: annotate_overrides // ignore_for_file: avoid_annotating_with_dynamic +// ignore_for_file: avoid_catches_without_on_clauses // ignore_for_file: avoid_returning_this +// ignore_for_file: lines_longer_than_80_chars // ignore_for_file: omit_local_variable_types // ignore_for_file: prefer_expression_function_bodies // ignore_for_file: sort_constructors_first diff --git a/lib/src/specs/library.g.dart b/lib/src/specs/library.g.dart index 15c6a60..9935040 100644 --- a/lib/src/specs/library.g.dart +++ b/lib/src/specs/library.g.dart @@ -3,13 +3,15 @@ part of 'library.dart'; // ************************************************************************** -// Generator: BuiltValueGenerator +// BuiltValueGenerator // ************************************************************************** // ignore_for_file: always_put_control_body_on_new_line // ignore_for_file: annotate_overrides // ignore_for_file: avoid_annotating_with_dynamic +// ignore_for_file: avoid_catches_without_on_clauses // ignore_for_file: avoid_returning_this +// ignore_for_file: lines_longer_than_80_chars // ignore_for_file: omit_local_variable_types // ignore_for_file: prefer_expression_function_bodies // ignore_for_file: sort_constructors_first diff --git a/lib/src/specs/method.g.dart b/lib/src/specs/method.g.dart index d7eb9fc..b6b862a 100644 --- a/lib/src/specs/method.g.dart +++ b/lib/src/specs/method.g.dart @@ -3,13 +3,15 @@ part of 'method.dart'; // ************************************************************************** -// Generator: BuiltValueGenerator +// BuiltValueGenerator // ************************************************************************** // ignore_for_file: always_put_control_body_on_new_line // ignore_for_file: annotate_overrides // ignore_for_file: avoid_annotating_with_dynamic +// ignore_for_file: avoid_catches_without_on_clauses // ignore_for_file: avoid_returning_this +// ignore_for_file: lines_longer_than_80_chars // ignore_for_file: omit_local_variable_types // ignore_for_file: prefer_expression_function_bodies // ignore_for_file: sort_constructors_first diff --git a/lib/src/specs/type_function.g.dart b/lib/src/specs/type_function.g.dart index fef17dc..b89237f 100644 --- a/lib/src/specs/type_function.g.dart +++ b/lib/src/specs/type_function.g.dart @@ -3,13 +3,15 @@ part of 'type_function.dart'; // ************************************************************************** -// Generator: BuiltValueGenerator +// BuiltValueGenerator // ************************************************************************** // ignore_for_file: always_put_control_body_on_new_line // ignore_for_file: annotate_overrides // ignore_for_file: avoid_annotating_with_dynamic +// ignore_for_file: avoid_catches_without_on_clauses // ignore_for_file: avoid_returning_this +// ignore_for_file: lines_longer_than_80_chars // ignore_for_file: omit_local_variable_types // ignore_for_file: prefer_expression_function_bodies // ignore_for_file: sort_constructors_first diff --git a/lib/src/specs/type_reference.g.dart b/lib/src/specs/type_reference.g.dart index 5d7e23b..bcd362f 100644 --- a/lib/src/specs/type_reference.g.dart +++ b/lib/src/specs/type_reference.g.dart @@ -3,13 +3,15 @@ part of 'type_reference.dart'; // ************************************************************************** -// Generator: BuiltValueGenerator +// BuiltValueGenerator // ************************************************************************** // ignore_for_file: always_put_control_body_on_new_line // ignore_for_file: annotate_overrides // ignore_for_file: avoid_annotating_with_dynamic +// ignore_for_file: avoid_catches_without_on_clauses // ignore_for_file: avoid_returning_this +// ignore_for_file: lines_longer_than_80_chars // ignore_for_file: omit_local_variable_types // ignore_for_file: prefer_expression_function_bodies // ignore_for_file: sort_constructors_first diff --git a/pubspec.yaml b/pubspec.yaml index 65a10f4..51097de 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -10,14 +10,14 @@ environment: dependencies: built_collection: '>=1.0.0 <4.0.0' - built_value: ^5.1.0 + built_value: ^6.0.0 matcher: ^0.12.0 meta: ^1.0.5 dev_dependencies: build: ^0.12.0 - build_runner: ^0.9.2 - built_value_generator: ^5.1.0 + build_runner: ^0.10.0 + built_value_generator: ^6.0.0 dart_style: ^1.0.0 - source_gen: ^0.8.3 + source_gen: ^0.9.0 test: ^1.3.0 diff --git a/tool/src/builder.dart b/tool/src/builder.dart index 4b0803c..6b0b098 100644 --- a/tool/src/builder.dart +++ b/tool/src/builder.dart @@ -10,5 +10,5 @@ import 'package:source_gen/source_gen.dart'; Builder builtValueBuilder(BuilderOptions _) { return new PartBuilder([ const BuiltValueGenerator(), - ]); + ], '.g.dart'); }