Files
gerrit/lib/auto/BUILD
David Pursehouse 1f30c4cf2a Upgrade auto-value to 1.6
The annotations are now provided in a separate artifact.

Change-Id: I6df14c97c44b211671961810b17760d81c20c5c3
2018-04-18 08:47:02 +02:00

40 lines
971 B
Python

java_plugin(
name = "auto-annotation-plugin",
processor_class = "com.google.auto.value.processor.AutoAnnotationProcessor",
deps = [
"@auto_value//jar",
"@auto_value_annotations//jar",
],
)
java_plugin(
name = "auto-value-plugin",
processor_class = "com.google.auto.value.processor.AutoValueProcessor",
deps = [
"@auto_value//jar",
"@auto_value_annotations//jar",
],
)
java_library(
name = "auto-value",
data = ["//lib:LICENSE-Apache2.0"],
exported_plugins = [
":auto-annotation-plugin",
":auto-value-plugin",
],
visibility = ["//visibility:public"],
exports = ["@auto_value//jar"],
)
java_library(
name = "auto-value-annotations",
data = ["//lib:LICENSE-Apache2.0"],
exported_plugins = [
":auto-annotation-plugin",
":auto-value-plugin",
],
visibility = ["//visibility:public"],
exports = ["@auto_value_annotations//jar"],
)