File tree Expand file tree Collapse file tree 4 files changed +2
-13
lines changed
src/main/starlark/core/repositories Expand file tree Collapse file tree 4 files changed +2
-13
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ use_repo(
18
18
"com_github_google_ksp" ,
19
19
"com_github_jetbrains_kotlin" ,
20
20
"com_github_pinterest_ktlint" ,
21
- "kt_java_stub_template" ,
22
21
"rules_android" ,
23
22
)
24
23
Original file line number Diff line number Diff line change @@ -134,7 +134,8 @@ _implicit_deps = {
134
134
),
135
135
"_java_stub_template" : attr .label (
136
136
cfg = "exec" ,
137
- default = Label ("@kt_java_stub_template//file" ),
137
+ default = Label ("@bazel_tools//tools/java:java_stub_template.txt" ),
138
+ allow_single_file = True ,
138
139
),
139
140
"_toolchain" : attr .label (
140
141
doc = """The Kotlin JVM Runtime. it's only purpose is to enable the Android native rules to discover the Kotlin
Original file line number Diff line number Diff line change @@ -63,15 +63,6 @@ def kotlin_repositories(
63
63
strip_version = ksp_compiler_release .version ,
64
64
)
65
65
66
- http_file (
67
- name = "kt_java_stub_template" ,
68
- urls = [("https://raw.githubusercontent.com/bazelbuild/bazel/" +
69
- versions .BAZEL_JAVA_LAUNCHER_VERSION +
70
- "/src/main/java/com/google/devtools/build/lib/bazel/rules/java/" +
71
- "java_stub_template.txt" )],
72
- sha256 = versions .BAZEL_JAVA_LAUNCHER_SHA ,
73
- )
74
-
75
66
maybe (
76
67
http_file ,
77
68
name = "com_github_pinterest_ktlint" ,
Original file line number Diff line number Diff line change @@ -53,8 +53,6 @@ versions = struct(
53
53
"https://github.com/bazelbuild/stardoc/releases/download/{version}/stardoc-{version}.tar.gz" ,
54
54
],
55
55
),
56
- BAZEL_JAVA_LAUNCHER_VERSION = "6.2.1" ,
57
- BAZEL_JAVA_LAUNCHER_SHA = "78e29525872594ffc783c825f428b3e61d4f3e632f46eaa64f004b2814c4a612" ,
58
56
PINTEREST_KTLINT = version (
59
57
version = "0.49.1" ,
60
58
url_templates = [
You can’t perform that action at this time.
0 commit comments