Skip to content

Commit d4e0a56

Browse files
committed
Kotlin: update wrapper location
1 parent b834173 commit d4e0a56

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

java/kotlin-extractor/deps.bzl

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@ kt_jvm_import(
1212

1313
_empty_zip = "PK\005\006\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
1414

15-
def _get_dep(repository_ctx, name):
16-
return repository_ctx.path(Label("//java/kotlin-extractor/deps:%s" % name))
17-
1815
_local_path = "{root}/resources/kotlin-dependencies/kotlin-{kind}-{version}.jar"
1916
_maven_url = "https://repo1.maven.org/maven2/org/jetbrains/kotlin/kotlin-{kind}/{version}/kotlin-{kind}-{version}.jar"
2017

@@ -98,11 +95,11 @@ def _get_default_version(repository_ctx):
9895
kotlin_plugin_versions = repository_ctx.path(Label("//java/kotlin-extractor:current_kotlin_version.py"))
9996
python = repository_ctx.which("python3") or repository_ctx.which("python")
10097
env = {}
101-
repository_ctx.watch(Label("//java/kotlin-extractor/deps:dev/.kotlinc_version"))
98+
repository_ctx.watch(Label("//java/kotlin-extractor:dev/.kotlinc_version"))
10299
if not repository_ctx.which("kotlinc"):
103100
# take default from the kotlinc wrapper
104101
path = repository_ctx.getenv("PATH")
105-
path_to_add = repository_ctx.path(Label("//java/kotlin-extractor/deps:dev"))
102+
path_to_add = repository_ctx.path(Label("//java/kotlin-extractor:dev"))
106103
if not path:
107104
path = str(path_to_add)
108105
elif repository_ctx.os.name == "windows":

0 commit comments

Comments
 (0)