diff options
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 |