diff --git a/CHANGELOG.md b/CHANGELOG.md index d307032..d44df57 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 3.0.2 + +* Require `source_gen: ^0.7.5`. + ## 3.0.1 * Upgrade to `built_value` 5.1.0. diff --git a/pubspec.yaml b/pubspec.yaml index 9ff8041..ffa34c3 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,5 +1,5 @@ name: code_builder -version: 3.0.1 +version: 3.0.2 description: A fluent API for generating Dart code author: Dart Team homepage: https://github.com/dart-lang/code_builder @@ -17,7 +17,7 @@ dev_dependencies: build_runner: ^0.7.9 built_value_generator: ^5.1.0 dart_style: ^1.0.0 - source_gen: ^0.7.0 + source_gen: ^0.7.5 test: ^0.12.0 # Required until built_value_generator supports 0.7.9. diff --git a/tool/src/builder.dart b/tool/src/builder.dart index 9e8393d..4b0803c 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(), - ], requireLibraryDirective: false); + ]); }