You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’m having an issue in one of my projects with the bazel-contrib/rules_jvm package java_test_suite where I specify the srcs using a filegroup, but the source files are never found. However, using a glob(["src/test/java/**/*.java"]) or manually specifying the list of source files does work.
For reference I’m using Bazel 8.0.0 (via Bazelisk) and the following MODULE dependencies:
bazel_dep(name = "rules_java", version = "8.6.3")
bazel_dep(name = "rules_jvm_external", version = "6.6")
bazel_dep(name = "contrib_rules_jvm", version = "0.27.0")
I’m having an issue in one of my projects with the
bazel-contrib/rules_jvm
packagejava_test_suite
where I specify thesrcs
using afilegroup
, but the source files are never found. However, using aglob(["src/test/java/**/*.java"])
or manually specifying the list of source files does work.For reference I’m using Bazel 8.0.0 (via Bazelisk) and the following MODULE dependencies:
I put together an example repository to demonstrate the issue here: https://github.com/programmablemike/issue-bazel-java-test-suite-filegroup/
The text was updated successfully, but these errors were encountered: