File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -12,9 +12,6 @@ kt_jvm_import(
12
12
13
13
_empty_zip = "PK\005 \006 \000 \000 \000 \000 \000 \000 \000 \000 \000 \000 \000 \000 \000 \000 \000 \000 \000 \000 "
14
14
15
- def _get_dep (repository_ctx , name ):
16
- return repository_ctx .path (Label ("//java/kotlin-extractor/deps:%s" % name ))
17
-
18
15
_local_path = "{root}/resources/kotlin-dependencies/kotlin-{kind}-{version}.jar"
19
16
_maven_url = "https://repo1.maven.org/maven2/org/jetbrains/kotlin/kotlin-{kind}/{version}/kotlin-{kind}-{version}.jar"
20
17
@@ -98,11 +95,11 @@ def _get_default_version(repository_ctx):
98
95
kotlin_plugin_versions = repository_ctx .path (Label ("//java/kotlin-extractor:current_kotlin_version.py" ))
99
96
python = repository_ctx .which ("python3" ) or repository_ctx .which ("python" )
100
97
env = {}
101
- repository_ctx .watch (Label ("//java/kotlin-extractor/deps :dev/.kotlinc_version" ))
98
+ repository_ctx .watch (Label ("//java/kotlin-extractor:dev/.kotlinc_version" ))
102
99
if not repository_ctx .which ("kotlinc" ):
103
100
# take default from the kotlinc wrapper
104
101
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" ))
106
103
if not path :
107
104
path = str (path_to_add )
108
105
elif repository_ctx .os .name == "windows" :
You can’t perform that action at this time.
0 commit comments