Skip to content

Commit 681b218

Browse files
authored
Allow empty glob in src/main/starlark/BUILD.release.bazel for Bazel 8 compatibility (#1283)
* Fixes for Windows issues found in the course of bazel-contrib/rules_jvm_external#1297: 1) Use platform-specific path separators. 2) Add Kotlin standard library jars to the data of tools so that the Windows Java launcher can find them in the runfiles manifest. * Test using path instead of short_path * Run buildifier * Consolidate KOTLIN_STDLIBS to //kotlin/compiler:compiler.bzl * Allow empty glob in src/main/starlark/BUILD.release.bazel for Bazel 8 compatibility * run buildifier
1 parent f6de627 commit 681b218

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/main/starlark/BUILD.release.bazel

+4-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,10 @@ load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
1616

1717
bzl_library(
1818
name = "starlark",
19-
srcs = glob(["*.bzl"]),
19+
srcs = glob(
20+
["*.bzl"],
21+
allow_empty = True,
22+
),
2023
visibility = ["//visibility:public"],
2124
deps = [
2225
"//src/main/starlark/core",

0 commit comments

Comments
 (0)