diff options
author | Roel Spilker <r.spilker@gmail.com> | 2018-05-01 01:45:08 +0200 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2018-05-01 01:45:08 +0200 |
commit | 7d581273601cba888e0bb4ec53de5af05eb72c93 (patch) | |
tree | f931a03cfe9ea503f23141d329850fca9429745d /docker/bazel/files/BUILD | |
parent | 87ad2f6f5973c355131927d7c4250236c04f7eab (diff) | |
download | lombok-7d581273601cba888e0bb4ec53de5af05eb72c93.tar.gz lombok-7d581273601cba888e0bb4ec53de5af05eb72c93.tar.bz2 lombok-7d581273601cba888e0bb4ec53de5af05eb72c93.zip |
docker: add bazel
Diffstat (limited to 'docker/bazel/files/BUILD')
-rw-r--r-- | docker/bazel/files/BUILD | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/docker/bazel/files/BUILD b/docker/bazel/files/BUILD new file mode 100644 index 00000000..b01da26d --- /dev/null +++ b/docker/bazel/files/BUILD @@ -0,0 +1,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"], +)
\ No newline at end of file |