We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
load()
1 parent eadc84e commit 7fa0b2cCopy full SHA for 7fa0b2c
bazel/oss_java_library.bzl
@@ -11,10 +11,10 @@
11
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
# See the License for the specific language governing permissions and
13
# limitations under the License.
14
-
15
"""See oss_jar_set"""
16
17
load("@google_bazel_common//tools/javadoc:javadoc.bzl", "javadoc_library")
+load("@rules_java//java:defs.bzl", "java_library")
18
19
def oss_java_library(
20
name,
@@ -34,7 +34,7 @@ def oss_java_library(
34
<name>.javadoc: (javadoc_library)
35
<name>.sources: (sources JAR)
36
"""
37
- native.java_library(
+ java_library(
38
name = name,
39
**_copy_and_merge(shared_attrs, java_attrs)
40
)
0 commit comments