Skip to content

Commit

Permalink
Bazel: fix kotlin wrapper version dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
redsun82 committed Apr 23, 2024
1 parent 5b143ce commit c014cd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion java/kotlin-extractor/deps.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def _get_default_version(repository_ctx):
kotlin_plugin_versions = repository_ctx.path(Label("//java/kotlin-extractor:current_kotlin_version.py"))
python = repository_ctx.which("python3") or repository_ctx.which("python")
env = {}
repository_ctx.watch(Label("//java/kotlin-extractor/deps:dev/.kotlinc_selected_version"))
repository_ctx.watch(Label("//java/kotlin-extractor/deps:dev/.kotlinc_version"))
if not repository_ctx.which("kotlinc"):
# take default from the kotlinc wrapper
path = repository_ctx.getenv("PATH")
Expand Down

0 comments on commit c014cd8

Please sign in to comment.