Skip to content

Commit b563b57

Browse files
authored
Fix android_sdk import path to use rules_android (#1292)
This change updates the `android_sdk` import path in the `third_party/BUILD` file of `rules_kotlin` to use the `rules_android` repository instead of the deprecated `bazel_tools` path. This is necessary for compatibility with Bazel 8.x, as the target `@bazel_tools//tools/android:android_jar` is no longer usable.
1 parent e50564f commit b563b57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

third_party/BUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ java_binary(
7777
# TODO(bazelbuild/rules_kotlin/issues/273): Remove android_sdk import.
7878
java_import(
7979
name = "android_sdk",
80-
jars = ["@bazel_tools//tools/android:android_jar"],
80+
jars = ["@rules_android//tools/android:android_jar"],
8181
neverlink = 1,
8282
visibility = ["//visibility:public"],
8383
)

0 commit comments

Comments
 (0)