blob: bf1effbf15bea5937e588ac5c8cbe930cc0407e9 [file] [log] [blame]
Carmelo Cascone27b97122019-11-12 10:34:05 -08001load("//tools/build/bazel:pom_file.bzl", "pom_file")
2
Ray Milkeyb7949e72018-06-19 18:31:02 -07003checkstyle_source = "src/main/resources/onos/checkstyle.xml"
4
5suppression_source = "src/main/resources/onos/suppressions.xml"
6
7header_source = "src/main/resources/onos/onos-java.header"
8
9filegroup(
10 name = "checkstyle_xml",
11 srcs = [checkstyle_source],
12 visibility = ["//visibility:public"],
13)
14
15filegroup(
16 name = "suppressions_xml",
17 srcs = [suppression_source],
18 visibility = ["//visibility:public"],
19)
20
21filegroup(
22 name = "onos_java_header",
23 srcs = [header_source],
24 visibility = ["//visibility:public"],
25)
Thomas Vachuska5538d9e2018-08-14 09:59:35 -070026
27java_library(
28 name = "onos-build-conf",
29 resources = glob(["src/main/resources/onos/**"]),
30 visibility = ["//visibility:public"],
31)
Carmelo Cascone27b97122019-11-12 10:34:05 -080032
33pom_file(
34 name = "onos-build-conf-pom",
35 artifact = "onos-build-conf",
36 visibility = ["//visibility:public"],
37)