Open shs96c opened 1 month ago
The way that I've "solved" this before is manually "unwind" the dependencies of my ruleset's transitive deps in the dependencies.bzl
file so that setup.bzl
can call the various setup functions that those rulesets provide. It's most unsatisfactory.
rules_proto
. How I love thee.
Apply the following patch to
rules_kotlin
in order to make the production deps be loaded before the dev ones. This should be a safe operation since the production deps contain everything thatrules_kotlin
needs at runtime:Now run
bazel sync --noenable_bzlmod
and the following error is reported:From this, it's clear that there is a chain of
load
statements fromrepositories.bzl
tosetup.bzl
(and from there to@rules_proto
).