# build_runner

> Dart's build system for code generation and modular compilation

Source: https://talira.ai/catalog/build-runner-snjaeg1d
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library, Command-line tool
- Categories: [developer tools / build / build systems](https://talira.ai/categories/developer-tools/build/build-systems)
- Licence: BSD-3-Clause[^1]
- Pricing: Free and open source[^1]
- Pricing notes: Free and open source.
- Free tier: yes[^1]
- Plugins: yes[^2]
- Backed by: [Google](https://talira.ai/orgs/google.md)
- Funding: public company (NASDAQ:GOOGL)[^3]

build_runner is the build system [Dart](https://talira.ai/catalog/dart-3askvstd.md) and Flutter packages use for code generation: it runs builders that generate code for serialization, data classes, data binding, dependency injection and mocking, and compiles web apps modularly. `dart run build_runner build` generates once and `watch` regenerates as files change. The same repository holds the `build` package for writing your own builders, `build_test` for testing them, `build_config` for configuring them in build.yaml, and `build_web_compilers` for compiling Dart to JavaScript and WebAssembly. It's maintained by the Dart team at Google.

## Links

- GitHub: https://github.com/dart-lang/build
- Docs: https://pub.dev/packages/build_runner

## Problems it solves

- generate JSON serialization code for my Flutter models
- run code generators in a Dart project and regenerate when files change
- write my own code generator for Dart
- generate mocks for Dart tests

## Features

- runs builders that generate Dart code
- build and watch modes
- build package for writing builders
- build_test for testing builders
- build.yaml configuration
- build_web_compilers for JavaScript and WebAssembly output

## Capabilities

- Has a command line tool: plan not known
- Takes plugins: plan not known

## Trust

Overall: 0.70 out of 1.
Signals: maintenance 1.00, adoption 0.59, momentum 0.27, community 0.87, backing 0.55, extensibility 0.40.

- last commit today
- 142 commits in the last 90 days
- latest release built_collection-v6.0.0 34 days ago
- 871 GitHub stars
- 146 contributors
- backed by Google
- funding: public company (NASDAQ:GOOGL)
- has a plugin system

## Related

- Works with [Dart](https://talira.ai/catalog/dart-3askvstd.md)

## Sources

[^1]: https://github.com/dart-lang/build/blob/master/LICENSE (checked 23 Nov 2026)
[^2]: https://github.com/dart-lang/build (checked 23 Nov 2026)
[^3]: https://www.sec.gov/files/company_tickers_exchange.json (checked 20 Nov 2026)
