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
We are using javacopt to disabled errorprone on generated files.
If specified in .bazelrc, the corresponding javacopt is ignored (EP is showing legit errors) : build --javacopt=-XepExcludedPaths:.*/.*genfiles/.*
If specified in the android_library rule itself, javacopt is passed properly (EP is disabled and no errors) : java_library( name = "src_main", srcs = glob(["src/main/java/**/*.java"]), javacopts = ["-XepExcludedPaths:.*/.*genfiles/.*"], visibility = ["//visibility:public"], ... )
The text was updated successfully, but these errors were encountered:
We are using javacopt to disabled errorprone on generated files.
If specified in .bazelrc, the corresponding javacopt is ignored (EP is showing legit errors) :
build --javacopt=-XepExcludedPaths:.*/.*genfiles/.*
If specified in the android_library rule itself, javacopt is passed properly (EP is disabled and no errors) :
java_library( name = "src_main", srcs = glob(["src/main/java/**/*.java"]), javacopts = ["-XepExcludedPaths:.*/.*genfiles/.*"], visibility = ["//visibility:public"], ... )
The text was updated successfully, but these errors were encountered: