Bazel has no issues mentioned in this post, i.e.:
(We do not recommend using GLOB to collect a list of source files from your source tree. If the CMakeLists.txt file does not change when the source is added or deleted, then the generated build system cannot know when to ask CMake to restore.)
Bazel , - , . Globing Bazel.
, globbing, globs.
, , bazel:
bazel query '//path/to/your:target' --output=build
java_library(
name = "target",
srcs = ["//path/to/your:A.java", "//path/to/your:B.java"],
)
"" , , Bazel .