aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhi Dou <zhidou@google.com>2024-05-02 14:34:07 +0000
committerZhi Dou <zhidou@google.com>2024-05-02 14:34:07 +0000
commit7996d44e1327e8010f5a015342d9c24141301e90 (patch)
tree06a6a900b5be9855dfc205eecb774088e3dd0e9a
parent07709dfec77859e506461d1a549d06376926a2c6 (diff)
downloadkotlinx.coroutines-master.tar.gz
set sdk_version for kotlinx_coroutines_testHEADmastermain
Set sdk_version for kotlinx_coroutines_test as core_current. If the sdk_version is empty the target will be built against private apis of framework jars. This change sets the proper api scope. Bug: n/a Test: presubmit Change-Id: I35d87a5af62cd93a2a5df7efa3114e4e2e2bcf69
-rw-r--r--Android.bp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index ef396c7a..cdb89c67 100644
--- a/Android.bp
+++ b/Android.bp
@@ -136,6 +136,7 @@ java_library {
java_library {
name: "kotlinx_coroutines_test",
host_supported: true,
+ sdk_version: "core_current",
srcs: ["kotlinx-coroutines-test/jvm/src/**/*.kt"],
common_srcs: ["kotlinx-coroutines-test/common/src/**/*.kt"],
java_resource_dirs: ["kotlinx-coroutines-test/jvm/resources"],