build
build copied to clipboard
Why is `build_runner` now a non-dev dependency of `build_runner_core`?
This makes little sense. Shouldn't the "internal" file that is in build_runner be in build_runner_core? I have tooling that runs the build_runner if a project depends on it, but now every project that depends on build now transitively depends on build_runner.
Yes, it needs cleaning up; I'm working on a release for https://github.com/dart-lang/build/issues/3977 as that is blocking quite a lot of work, then I'll work on the package structure.
Sorry about that.
In the meantime you could either:
- Pin to
build_runner<2.5.0 - replace your check for a
build_runnertransitive dep with a check for specific generator packages
With https://github.com/dart-lang/build/pull/4177 build no longer depends on build_runner_core, so I think that will fix your issue. Please reopen if not.
I'll continue to clean up the packages, I think I will probably merge all the "runtime" stuff into build_runner.