aboutsummaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
Diffstat (limited to 'docker')
-rw-r--r--docker/bazel/files/BUILD12
-rw-r--r--docker/bazel/files/BUILD.lombok5
-rw-r--r--docker/bazel/files/WORKSPACE5
3 files changed, 14 insertions, 8 deletions
diff --git a/docker/bazel/files/BUILD b/docker/bazel/files/BUILD
index b01da26d..4a9c7655 100644
--- a/docker/bazel/files/BUILD
+++ b/docker/bazel/files/BUILD
@@ -6,13 +6,13 @@ java_binary(
)
java_plugin(
- name = "lombok_plugin",
- processor_class = "lombok.launch.AnnotationProcessorHider$AnnotationProcessor",
- deps = ["@lombok_jar//jar"],
+ 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"],
+ name = "lombok",
+ exports = ["@lombok_jar//:jar"],
+ exported_plugins = [":lombok_plugin"],
) \ No newline at end of file
diff --git a/docker/bazel/files/BUILD.lombok b/docker/bazel/files/BUILD.lombok
new file mode 100644
index 00000000..06836d17
--- /dev/null
+++ b/docker/bazel/files/BUILD.lombok
@@ -0,0 +1,5 @@
+java_import(
+ name = "jar",
+ jars = ["lombok.jar"],
+ visibility = ["//visibility:public"]
+)
diff --git a/docker/bazel/files/WORKSPACE b/docker/bazel/files/WORKSPACE
index 265cfc4b..4b073ec8 100644
--- a/docker/bazel/files/WORKSPACE
+++ b/docker/bazel/files/WORKSPACE
@@ -1,4 +1,5 @@
-http_jar(
+new_local_repository(
name = "lombok_jar",
- url = "https://projectlombok.org/lombok-edge.jar",
+ path = "/workspace",
+ build_file = "BUILD.lombok",
) \ No newline at end of file