summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2019-01-22 14:13:13 -0800
committerColin Cross <ccross@android.com>2019-01-22 22:14:46 +0000
commitfd1a3f7ec5121247429d492eae56f34df1fdbefa (patch)
tree6ae68dde76397d5699bd7b4ebc947335e733b702
parenta93efc3dd041be8517ad65d3bf1e720a7feb5afb (diff)
downloadkotlinc-fd1a3f7ec5121247429d492eae56f34df1fdbefa.tar.gz
Add kotlin-annotations module
Modules using kapt for annotation processing need an implicit dependency on org.jetbrains.annotations found in annotations-13.0.jar. Bug: 122251693 Test: m checkbuild Change-Id: Ifba4b1d286a8a7021237d7655748963e1017505b
-rw-r--r--Android.bp7
1 files changed, 7 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 814c93c..41a3400 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,4 +1,11 @@
java_import {
+ name: "kotlin-annotations",
+ host_supported: true,
+ jars: ["lib/annotations-13.0.jar"],
+ sdk_version: "core_current",
+}
+
+java_import {
name: "kotlin-reflect",
host_supported: true,
jars: ["lib/kotlin-reflect.jar"],