diff options
| author | 2020-05-21 10:38:30 +0100 | |
|---|---|---|
| committer | 2020-05-21 13:36:49 +0100 | |
| commit | a9a3173ee34ce6a6d33677eda02a6ca9b216e87e (patch) | |
| tree | b68fbf22d1b95f1b0988d9896adde431884927cf /sdk/java_sdk_test.go | |
| parent | c5e13279ad9d146e12d97f937afc45c958c1e3af (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 'sdk/java_sdk_test.go')
| -rw-r--r-- | sdk/java_sdk_test.go | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sdk/java_sdk_test.go b/sdk/java_sdk_test.go index bbd638494..e223e56e7 100644 --- a/sdk/java_sdk_test.go +++ b/sdk/java_sdk_test.go @@ -61,17 +61,20 @@ java_import { name: "android_module_lib_stubs_current", } java_import { - name: "core-lambda-stubs", + name: "core-lambda-stubs", sdk_version: "none", } java_import { - name: "ext", + name: "ext", sdk_version: "none", } java_import { - name: "framework", + name: "framework", sdk_version: "none", } +java_library { + name: "stub-annotations", +} ` + bp return testSdkWithFs(t, bp, fs) |