Upgrade auto-value to 1.6
The annotations are now provided in a separate artifact. Change-Id: I6df14c97c44b211671961810b17760d81c20c5c3
This commit is contained in:
12
WORKSPACE
12
WORKSPACE
@@ -415,10 +415,18 @@ maven_jar(
|
|||||||
sha1 = "430b2fc839b5de1f3643b528853d5cf26096c1de",
|
sha1 = "430b2fc839b5de1f3643b528853d5cf26096c1de",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
AUTO_VALUE_VERSION = "1.6"
|
||||||
|
|
||||||
maven_jar(
|
maven_jar(
|
||||||
name = "auto_value",
|
name = "auto_value",
|
||||||
artifact = "com.google.auto.value:auto-value:1.5.4",
|
artifact = "com.google.auto.value:auto-value:" + AUTO_VALUE_VERSION,
|
||||||
sha1 = "65183ddd1e9542d69d8f613fdae91540d04e1476",
|
sha1 = "a3b1b1404f8acaa88594a017185e013cd342c9a8",
|
||||||
|
)
|
||||||
|
|
||||||
|
maven_jar(
|
||||||
|
name = "auto_value_annotations",
|
||||||
|
artifact = "com.google.auto.value:auto-value-annotations:" + AUTO_VALUE_VERSION,
|
||||||
|
sha1 = "da725083ee79fdcd86d9f3d8a76e38174a01892a",
|
||||||
)
|
)
|
||||||
|
|
||||||
# Transitive dependency of commons-compress
|
# Transitive dependency of commons-compress
|
||||||
|
@@ -78,6 +78,7 @@ java_library2(
|
|||||||
"//lib:truth",
|
"//lib:truth",
|
||||||
"//lib:truth-java8-extension",
|
"//lib:truth-java8-extension",
|
||||||
"//lib/auto:auto-value",
|
"//lib/auto:auto-value",
|
||||||
|
"//lib/auto:auto-value-annotations",
|
||||||
"//lib/httpcomponents:fluent-hc",
|
"//lib/httpcomponents:fluent-hc",
|
||||||
"//lib/httpcomponents:httpclient",
|
"//lib/httpcomponents:httpclient",
|
||||||
"//lib/httpcomponents:httpcore",
|
"//lib/httpcomponents:httpcore",
|
||||||
|
@@ -23,6 +23,7 @@ gwt_module(
|
|||||||
"//lib:gwtorm_client",
|
"//lib:gwtorm_client",
|
||||||
"//lib:servlet-api-3_1",
|
"//lib:servlet-api-3_1",
|
||||||
"//lib/auto:auto-value",
|
"//lib/auto:auto-value",
|
||||||
|
"//lib/auto:auto-value-annotations",
|
||||||
"//lib/jgit/org.eclipse.jgit:jgit",
|
"//lib/jgit/org.eclipse.jgit:jgit",
|
||||||
"//lib/log:api",
|
"//lib/log:api",
|
||||||
],
|
],
|
||||||
@@ -48,6 +49,7 @@ java_library(
|
|||||||
"//lib:gwtorm",
|
"//lib:gwtorm",
|
||||||
"//lib:servlet-api-3_1",
|
"//lib:servlet-api-3_1",
|
||||||
"//lib/auto:auto-value",
|
"//lib/auto:auto-value",
|
||||||
|
"//lib/auto:auto-value-annotations",
|
||||||
"//lib/jgit/org.eclipse.jgit:jgit",
|
"//lib/jgit/org.eclipse.jgit:jgit",
|
||||||
"//lib/log:api",
|
"//lib/log:api",
|
||||||
],
|
],
|
||||||
|
@@ -30,6 +30,7 @@ java_library(
|
|||||||
"//lib:servlet-api-3_1",
|
"//lib:servlet-api-3_1",
|
||||||
"//lib:soy",
|
"//lib:soy",
|
||||||
"//lib/auto:auto-value",
|
"//lib/auto:auto-value",
|
||||||
|
"//lib/auto:auto-value-annotations",
|
||||||
"//lib/commons:codec",
|
"//lib/commons:codec",
|
||||||
"//lib/guice",
|
"//lib/guice",
|
||||||
"//lib/guice:guice-assistedinject",
|
"//lib/guice:guice-assistedinject",
|
||||||
|
@@ -42,6 +42,7 @@ java_library(
|
|||||||
"//lib:gwtorm",
|
"//lib:gwtorm",
|
||||||
"//lib/antlr:java_runtime",
|
"//lib/antlr:java_runtime",
|
||||||
"//lib/auto:auto-value",
|
"//lib/auto:auto-value",
|
||||||
|
"//lib/auto:auto-value-annotations",
|
||||||
"//lib/jgit/org.eclipse.jgit:jgit",
|
"//lib/jgit/org.eclipse.jgit:jgit",
|
||||||
"//lib/log:api",
|
"//lib/log:api",
|
||||||
],
|
],
|
||||||
|
@@ -49,6 +49,7 @@ java_library(
|
|||||||
"//lib:protobuf",
|
"//lib:protobuf",
|
||||||
"//lib:servlet-api-3_1-without-neverlink",
|
"//lib:servlet-api-3_1-without-neverlink",
|
||||||
"//lib/auto:auto-value",
|
"//lib/auto:auto-value",
|
||||||
|
"//lib/auto:auto-value-annotations",
|
||||||
"//lib/guice",
|
"//lib/guice",
|
||||||
"//lib/guice:guice-assistedinject",
|
"//lib/guice:guice-assistedinject",
|
||||||
"//lib/guice:guice-servlet",
|
"//lib/guice:guice-servlet",
|
||||||
|
@@ -62,6 +62,7 @@ java_library(
|
|||||||
"//lib:soy",
|
"//lib:soy",
|
||||||
"//lib:tukaani-xz",
|
"//lib:tukaani-xz",
|
||||||
"//lib/auto:auto-value",
|
"//lib/auto:auto-value",
|
||||||
|
"//lib/auto:auto-value-annotations",
|
||||||
"//lib/bouncycastle:bcpkix-neverlink",
|
"//lib/bouncycastle:bcpkix-neverlink",
|
||||||
"//lib/bouncycastle:bcprov-neverlink",
|
"//lib/bouncycastle:bcprov-neverlink",
|
||||||
"//lib/commons:codec",
|
"//lib/commons:codec",
|
||||||
|
@@ -13,6 +13,7 @@ java_library(
|
|||||||
"//lib:guava",
|
"//lib:guava",
|
||||||
"//lib:gwtorm",
|
"//lib:gwtorm",
|
||||||
"//lib/auto:auto-value",
|
"//lib/auto:auto-value",
|
||||||
|
"//lib/auto:auto-value-annotations",
|
||||||
"//lib/guice",
|
"//lib/guice",
|
||||||
"//lib/guice:guice-assistedinject",
|
"//lib/guice:guice-assistedinject",
|
||||||
"//lib/jgit/org.eclipse.jgit:jgit",
|
"//lib/jgit/org.eclipse.jgit:jgit",
|
||||||
|
@@ -25,6 +25,7 @@ java_library(
|
|||||||
"//lib:gwtorm",
|
"//lib:gwtorm",
|
||||||
"//lib:servlet-api-3_1",
|
"//lib:servlet-api-3_1",
|
||||||
"//lib/auto:auto-value",
|
"//lib/auto:auto-value",
|
||||||
|
"//lib/auto:auto-value-annotations",
|
||||||
"//lib/commons:codec",
|
"//lib/commons:codec",
|
||||||
"//lib/commons:compress",
|
"//lib/commons:compress",
|
||||||
"//lib/commons:lang",
|
"//lib/commons:lang",
|
||||||
|
@@ -16,6 +16,7 @@ java_library(
|
|||||||
"//lib:guava",
|
"//lib:guava",
|
||||||
"//lib:gwtorm",
|
"//lib:gwtorm",
|
||||||
"//lib/auto:auto-value",
|
"//lib/auto:auto-value",
|
||||||
|
"//lib/auto:auto-value-annotations",
|
||||||
"//lib/commons:dbcp",
|
"//lib/commons:dbcp",
|
||||||
"//lib/guice",
|
"//lib/guice",
|
||||||
"//lib/jgit/org.eclipse.jgit.archive:jgit-archive",
|
"//lib/jgit/org.eclipse.jgit.archive:jgit-archive",
|
||||||
|
@@ -25,6 +25,7 @@ java_library(
|
|||||||
"//lib:jsch",
|
"//lib:jsch",
|
||||||
"//lib:servlet-api-3_1",
|
"//lib:servlet-api-3_1",
|
||||||
"//lib/auto:auto-value",
|
"//lib/auto:auto-value",
|
||||||
|
"//lib/auto:auto-value-annotations",
|
||||||
"//lib/bouncycastle:bcprov-neverlink",
|
"//lib/bouncycastle:bcprov-neverlink",
|
||||||
"//lib/commons:codec",
|
"//lib/commons:codec",
|
||||||
"//lib/dropwizard:dropwizard-core",
|
"//lib/dropwizard:dropwizard-core",
|
||||||
|
@@ -32,6 +32,7 @@ java_library(
|
|||||||
"//lib:h2",
|
"//lib:h2",
|
||||||
"//lib:truth",
|
"//lib:truth",
|
||||||
"//lib/auto:auto-value",
|
"//lib/auto:auto-value",
|
||||||
|
"//lib/auto:auto-value-annotations",
|
||||||
"//lib/guice",
|
"//lib/guice",
|
||||||
"//lib/guice:guice-servlet",
|
"//lib/guice:guice-servlet",
|
||||||
"//lib/jgit/org.eclipse.jgit:jgit",
|
"//lib/jgit/org.eclipse.jgit:jgit",
|
||||||
|
@@ -30,5 +30,6 @@ junit_tests(
|
|||||||
"//lib:guava",
|
"//lib:guava",
|
||||||
"//lib:truth",
|
"//lib:truth",
|
||||||
"//lib/auto:auto-value",
|
"//lib/auto:auto-value",
|
||||||
|
"//lib/auto:auto-value-annotations",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
@@ -55,6 +55,7 @@ junit_tests(
|
|||||||
"//lib:gwtorm",
|
"//lib:gwtorm",
|
||||||
"//lib:truth-java8-extension",
|
"//lib:truth-java8-extension",
|
||||||
"//lib/auto:auto-value",
|
"//lib/auto:auto-value",
|
||||||
|
"//lib/auto:auto-value-annotations",
|
||||||
"//lib/commons:codec",
|
"//lib/commons:codec",
|
||||||
"//lib/guice",
|
"//lib/guice",
|
||||||
"//lib/jgit/org.eclipse.jgit:jgit",
|
"//lib/jgit/org.eclipse.jgit:jgit",
|
||||||
|
@@ -1,13 +1,19 @@
|
|||||||
java_plugin(
|
java_plugin(
|
||||||
name = "auto-annotation-plugin",
|
name = "auto-annotation-plugin",
|
||||||
processor_class = "com.google.auto.value.processor.AutoAnnotationProcessor",
|
processor_class = "com.google.auto.value.processor.AutoAnnotationProcessor",
|
||||||
deps = ["@auto_value//jar"],
|
deps = [
|
||||||
|
"@auto_value//jar",
|
||||||
|
"@auto_value_annotations//jar",
|
||||||
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
java_plugin(
|
java_plugin(
|
||||||
name = "auto-value-plugin",
|
name = "auto-value-plugin",
|
||||||
processor_class = "com.google.auto.value.processor.AutoValueProcessor",
|
processor_class = "com.google.auto.value.processor.AutoValueProcessor",
|
||||||
deps = ["@auto_value//jar"],
|
deps = [
|
||||||
|
"@auto_value//jar",
|
||||||
|
"@auto_value_annotations//jar",
|
||||||
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
java_library(
|
java_library(
|
||||||
@@ -20,3 +26,14 @@ java_library(
|
|||||||
visibility = ["//visibility:public"],
|
visibility = ["//visibility:public"],
|
||||||
exports = ["@auto_value//jar"],
|
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"],
|
||||||
|
)
|
||||||
|
Reference in New Issue
Block a user