aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiyong Park <jiyong@google.com>2018-01-31 11:00:21 +0900
committerJiyong Park <jiyong@google.com>2018-01-31 11:00:21 +0900
commit09abf148e2c59df46e7954324a7f5f237a69e8b4 (patch)
tree7cd0a30a4393658978f07517eb9c48ffeb543f37
parentc94cd613ebc40cbf9eb94452685fb19a18ab7264 (diff)
downloadtestng-09abf148e2c59df46e7954324a7f5f237a69e8b4.tar.gz
Using core_current ensures that the module is not using any Android APIs (e.g. APIs under android.* packages), but only core Java APIs. Bug: 72206056 Test: m -j testng Change-Id: I30528e49267c88af6f02d2b82891a1599e6f7663
-rw-r--r--Android.bp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index cd41f54b..25ba36a4 100644
--- a/Android.bp
+++ b/Android.bp
@@ -43,6 +43,7 @@ java_library {
name: "testng",
host_supported: true,
hostdex: true,
+ sdk_version: "core_current",
srcs: [
"src/main/**/*.java",