Skip to content

Commit 6c9010a

Browse files
committed
[java] Enable SpotBugs for java_export
1 parent 9d68245 commit 6c9010a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

java/private/export.bzl

Lines changed: 2 additions & 1 deletion
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)