Skip to content

Commit f697509

Browse files
authored
[java] Enable SpotBugs for java_export (#14882)
1 parent 9d68245 commit f697509

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: java/private/export.bzl

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
load("@contrib_rules_jvm//java:defs.bzl", "java_library")
12
load(
23
"@rules_jvm_external//:defs.bzl",
34
"javadoc",
@@ -24,7 +25,7 @@ def java_export(
2425
lib_name = "%s-lib" % name
2526

2627
# Construct the java_library we'll export from here.
27-
native.java_library(
28+
java_library(
2829
name = lib_name,
2930
tags = tags,
3031
exports = exports,

0 commit comments

Comments
 (0)