Open restingbull opened 2 years ago
@nkoroste -- can you verify this works? It looks like it does locally.
No, I don't think it worked, I still have to --expunge
in order for changes in rules_kotlin to take effect in the client repo that uses them. Tested on latest master.
In the client repo, I pull rules_kotlin like this:
local_repository(
name = "release_archive",
path = "../../rules_kotlin/src/main/starlark/release_archive",
)
load("@release_archive//:repository.bzl", "archive_repository")
archive_repository(
name = "io_bazel_rules_kotlin",
local_path = "../../rules_kotlin",
)
Then I add a print in rules_kotlin/kotlin/internal/jvm/compile.bzl
to see if it appears when I build the client repo - the changes are only reflected after --expunge
This is due to bazel being unable to determine that changes in the local_repository directory affect the archive_repository.