diff options
author | Roel Spilker <r.spilker@gmail.com> | 2020-01-08 01:20:27 +0100 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2020-01-08 01:32:24 +0100 |
commit | a4345d11453fc7d80e7814c27605ce1a5caa23f8 (patch) | |
tree | d72ddb8d12c4adc2d78f3d06408c3f7ec486dd01 /docker/bazel/files/classpath | |
parent | 20952446671d78533e3662bfa8206e3801c70b54 (diff) | |
download | lombok-a4345d11453fc7d80e7814c27605ce1a5caa23f8.tar.gz lombok-a4345d11453fc7d80e7814c27605ce1a5caa23f8.tar.bz2 lombok-a4345d11453fc7d80e7814c27605ce1a5caa23f8.zip |
new versions for docker
Diffstat (limited to 'docker/bazel/files/classpath')
-rw-r--r-- | docker/bazel/files/classpath/BUILD | 18 | ||||
-rw-r--r-- | docker/bazel/files/classpath/BUILD.lombok | 5 | ||||
-rw-r--r-- | docker/bazel/files/classpath/WORKSPACE | 5 |
3 files changed, 28 insertions, 0 deletions
diff --git a/docker/bazel/files/classpath/BUILD b/docker/bazel/files/classpath/BUILD new file mode 100644 index 00000000..4a9c7655 --- /dev/null +++ b/docker/bazel/files/classpath/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/classpath/BUILD.lombok b/docker/bazel/files/classpath/BUILD.lombok new file mode 100644 index 00000000..06836d17 --- /dev/null +++ b/docker/bazel/files/classpath/BUILD.lombok @@ -0,0 +1,5 @@ +java_import( + name = "jar", + jars = ["lombok.jar"], + visibility = ["//visibility:public"] +) diff --git a/docker/bazel/files/classpath/WORKSPACE b/docker/bazel/files/classpath/WORKSPACE new file mode 100644 index 00000000..d2974805 --- /dev/null +++ b/docker/bazel/files/classpath/WORKSPACE @@ -0,0 +1,5 @@ +new_local_repository( + name = "lombok_jar", + path = "/workspace/classpath", + build_file = "BUILD.lombok", +)
\ No newline at end of file |