_bazel_codegen 0.3.3+1

  • Installing
  • Versions
  • 0


  • Increased the upper bound for package:analyzer to '<0.34.0'.


  • Support package:build v1.0.0.


  • Increased the upper bound for the sdk to <3.0.0.
  • Drop dependency on build_barback.
  • Use the latest build.
  • Support package:analyzer 0.32.0.
  • Don't pass any analysis options to the summary resolver - use the defaults.


  • Fixed runtime errors when running in Dart 2 mode via --preview-dart-2.


  • Expand constraint on package:build to allow version 0.12.x


  • Correct expected outputs when running builders taking disjoint input extensions.


Breaking Changes

  • Drop BuilderFactory in favor of the typedef from package:build. The factories now take a BuilderOptions argument rather than List<String>.


  • Update to build 0.11.0, update interface for findAssets.


  • Breaking: CLI argument change: Replace in-extension and out-extensions with build-extensions.


  • Upgrade to package:build v0.10


  • Allow 'side' outputs from a builder. When multiple builders are chained the inputs to builders are no longer limited to only the outputs from the previous builder.


  • Support for build 0.9.0


  • Add a toString() on AssetSource.
  • Run analysis in Strong mode when using summaries


  • Upgrade to build 0.8.0, implement findAssets api


  • Give priority to reading inputs directly rather than resolving through a summary if they are duplicated.


  • Throw an exception when attempting to do resolution on an input file that is also included in a dependency when using summaries.


  • Wrap generation in Chain.capture and print full asynchronous stack traces
  • BREAKING bazelGenerate and noArgs have been dropped. These are unused from the template file in rules_dart which is the supported approach.


  • Only read '.dart' files as sources for the Resolver. This avoids a problem trying to read binary assets as if they were strings. Poorly encoded .dart files can still cause an error - but this case we'd expect to fail.
  • Fix a bug where failure to read an asset during the Resolvers.get call would cause the entire process to hang.
  • Rely on the print capturing from package:build


  • Bug fix: Correct the import after library was renamed with a leading underscore.

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:

  _bazel_codegen: ^0.3.3+1

2. Install it

You can install packages from the command line:

with pub:

$ pub get

Alternatively, your editor might support pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:

import 'package:_bazel_codegen/_bazel_codegen.dart';
Version Uploaded Documentation Archive
0.3.3+1 Oct 8, 2018 Go to the documentation of _bazel_codegen 0.3.3+1 Download _bazel_codegen 0.3.3+1 archive
0.3.2 Jul 22, 2018 Go to the documentation of _bazel_codegen 0.3.2 Download _bazel_codegen 0.3.2 archive
0.3.1+2 Apr 17, 2018 Go to the documentation of _bazel_codegen 0.3.1+2 Download _bazel_codegen 0.3.1+2 archive
0.3.1+1 Jan 31, 2018 Go to the documentation of _bazel_codegen 0.3.1+1 Download _bazel_codegen 0.3.1+1 archive
0.3.1 Dec 11, 2017 Go to the documentation of _bazel_codegen 0.3.1 Download _bazel_codegen 0.3.1 archive
0.3.0 Nov 29, 2017 Go to the documentation of _bazel_codegen 0.3.0 Download _bazel_codegen 0.3.0 archive
0.2.1 Nov 3, 2017 Go to the documentation of _bazel_codegen 0.2.1 Download _bazel_codegen 0.2.1 archive
0.1.7 Aug 14, 2017 Go to the documentation of _bazel_codegen 0.1.7 Download _bazel_codegen 0.1.7 archive
0.1.6 Apr 26, 2017 Go to the documentation of _bazel_codegen 0.1.6 Download _bazel_codegen 0.1.6 archive
0.1.5 Apr 25, 2017 Go to the documentation of _bazel_codegen 0.1.5 Download _bazel_codegen 0.1.5 archive

All 18 versions...

Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Learn more about scoring.

This package is not analyzed, because it is discontinued.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0 <3.0.0