diff --git a/.bazelrc b/.bazelrc index 2581291..7389d31 100644 --- a/.bazelrc +++ b/.bazelrc @@ -6,3 +6,4 @@ build --javacopt=-Xlint:-processing build --javacopt=-Werror build --symlink_prefix=.bazel/ +build --lockfile_mode=off diff --git a/.bazelversion b/.bazelversion index 09b254e..66ce77b 100644 --- a/.bazelversion +++ b/.bazelversion @@ -1 +1 @@ -6.0.0 +7.0.0 diff --git a/MODULE.bazel b/MODULE.bazel new file mode 100644 index 0000000..90b33bf --- /dev/null +++ b/MODULE.bazel @@ -0,0 +1 @@ +module(name = "extra_rules_java") diff --git a/jar-loader/BUILD b/jar-loader/BUILD index fac5815..d657bb9 100644 --- a/jar-loader/BUILD +++ b/jar-loader/BUILD @@ -2,6 +2,7 @@ java_library( name = "jar-loader", srcs = glob(["src/main/java/**/*.java"]), javacopts = [ + "-Xlint:-this-escape", "-Xlint:-try", ], visibility = ["//visibility:public"],