e1359a35e1
Recent Bazel versions support dash character in external repository names. Consistently use them with one exception: javax_inject. This is needed to match the name in the rules_closure. Change-Id: I1e75690fe1ee2ab32fffe07c0c30dbed84753960
40 lines
971 B
Python
40 lines
971 B
Python
java_plugin(
|
|
name = "auto-annotation-plugin",
|
|
processor_class = "com.google.auto.value.processor.AutoAnnotationProcessor",
|
|
deps = [
|
|
"@auto-value-annotations//jar",
|
|
"@auto-value//jar",
|
|
],
|
|
)
|
|
|
|
java_plugin(
|
|
name = "auto-value-plugin",
|
|
processor_class = "com.google.auto.value.processor.AutoValueProcessor",
|
|
deps = [
|
|
"@auto-value-annotations//jar",
|
|
"@auto-value//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"],
|
|
)
|