diff options
Diffstat (limited to 'docker/bazel/files')
-rw-r--r-- | docker/bazel/files/BUILD | 18 | ||||
-rw-r--r-- | docker/bazel/files/WORKSPACE | 4 |
2 files changed, 22 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 diff --git a/docker/bazel/files/WORKSPACE b/docker/bazel/files/WORKSPACE new file mode 100644 index 00000000..265cfc4b --- /dev/null +++ b/docker/bazel/files/WORKSPACE @@ -0,0 +1,4 @@ +http_jar( + name = "lombok_jar", + url = "https://projectlombok.org/lombok-edge.jar", +)
\ No newline at end of file |