Bazel: Flip --incompatible_use_plus_in_repo_names.

We've hardcoded the tilde in a lot of places :(
This improves performance on Windows and gets us ready for Bazel 8.

We need an upgrade of rules_rust for this to work.
This commit is contained in:
Cornelius Riemenschneider
2024-10-09 14:04:05 +02:00
parent 6ffdf576d0
commit 4c21444dd5
7 changed files with 8 additions and 7 deletions

View File

@@ -17,7 +17,7 @@ def _get_dep(repository_ctx, name):
return repository_ctx.path(Label("//java/kotlin-extractor/deps:%s" % name))
def _kotlin_dep_impl(repository_ctx):
_, _, name = repository_ctx.name.rpartition("~")
_, _, name = repository_ctx.name.rpartition("+")
lfs_smudge(repository_ctx, [_get_dep(repository_ctx, name + ".jar")])
# for some reason rules_kotlin warns about these jars missing, this is to silence those warnings