Skip to content

Commit 2450737

Browse files
committed
Enable AutoBuilder
This lets us use AutoValue's AutoBuilder with record classes, etc. Change-Id: I414b2fdf2d2911ba0d698b5d65bf846aa11cce4a
1 parent 212f0e3 commit 2450737

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

third_party/BUILD

+10
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,19 @@ java_plugin(
5151
],
5252
)
5353

54+
java_plugin(
55+
name = "autobuilder_plugin",
56+
processor_class = "com.google.auto.value.processor.AutoBuilderProcessor",
57+
deps = [
58+
"@copybara_maven//:com_google_auto_value_auto_value",
59+
"@copybara_maven//:com_google_auto_value_auto_value_annotations",
60+
],
61+
)
62+
5463
java_library(
5564
name = "autovalue",
5665
exported_plugins = [
66+
":autobuilder_plugin",
5767
":autovalue_plugin",
5868
],
5969
# TODO(matvore): What to export to give access to @AutoValue annotation

0 commit comments

Comments
 (0)