File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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" :
You can’t perform that action at this time.
0 commit comments