how to build lombok java annotations

768 views
Skip to first unread message

Krish Narukulla

unread,
Apr 26, 2021, 6:42:26 PM4/26/21
to bazel-discuss
Team,

I am new to bazel builds, how can i build "lombok"  annotations using bazel?


Thanks
Krish

Krish Narukulla

unread,
Apr 30, 2021, 3:03:41 PM4/30/21
to bazel-discuss
java_plugin(
name = "lombok-java",
processor_class = "lombok.launch.AnnotationProcessorHider$AnnotationProcessor",
generates_api = True,
deps = ["@maven//:org_projectlombok_lombok",],
visibility = ["//visibility:public"],
)

use this plugin as exported_plugins in java_library rule
Reply all
Reply to author
Forward
0 new messages