summaryrefslogtreecommitdiff
path: root/java/testing.go
diff options
context:
space:
mode:
author Anton Hansson <hansson@google.com> 2020-05-21 10:38:30 +0100
committer Anton Hansson <hansson@google.com> 2020-05-21 13:36:49 +0100
commita9a3173ee34ce6a6d33677eda02a6ca9b216e87e (patch)
treeb68fbf22d1b95f1b0988d9896adde431884927cf /java/testing.go
parentc5e13279ad9d146e12d97f937afc45c958c1e3af (diff)
Default annotations_enabled to true for sdk_library
This turns out retention of Nullable annotations, which is almost certainly what every user wants. Also add the "stub-annotations" lib to the stub libs property, to make sure the nullability annotations resolve properly. Bug: 157010342 Test: m Change-Id: I905144add4ef6f85445eedd1ba5169445f6005e0
Diffstat (limited to 'java/testing.go')
-rw-r--r--java/testing.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/java/testing.go b/java/testing.go
index d6a2446ab..4872af507 100644
--- a/java/testing.go
+++ b/java/testing.go
@@ -176,6 +176,7 @@ func GatherRequiredDepsForTest() string {
"kotlin-stdlib-jdk7",
"kotlin-stdlib-jdk8",
"kotlin-annotations",
+ "stub-annotations",
}
for _, extra := range extraModules {