aboutsummaryrefslogtreecommitdiff
path: root/docker/bazel/files/BUILD
blob: 4a9c76554ec779d315f112af524955c3a240738d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
java_binary(
    name = "ProjectRunner",
    main_class = "HelloWorld",
    srcs = glob(["src/main/java/*.java"]),
    deps = [":lombok"],
)

java_plugin(
    name = "lombok_plugin",
    processor_class = "lombok.launch.AnnotationProcessorHider$AnnotationProcessor",
    deps = ["@lombok_jar//:jar"],
)

java_library(
    name = "lombok",
    exports = ["@lombok_jar//:jar"],
    exported_plugins = [":lombok_plugin"],
)