aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-06-14 23:08:50 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-06-14 23:08:50 +0000
commitd504cd57c42f2ab3d2b2f33600a4fb6b37a7199f (patch)
tree762d2529570e5946dccd0b888a7c87b8ac624c2b
parentbe44af218ab915ad45decdb4a39832f26e55fa36 (diff)
parentd5d124c1cce08c915eeb31eadee0a966df3a5344 (diff)
downloadokhttp-android14-s1-release.tar.gz
Change-Id: I4448e3e33fc283aa9c956760f3220eeec1013e88
-rw-r--r--Android.bp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index a60000e..4bf284f 100644
--- a/Android.bp
+++ b/Android.bp
@@ -186,6 +186,9 @@ java_library {
sdk_version: "core_current",
// Make sure that this will be added to the sdk snapshot for S.
min_sdk_version: "30",
+ // This jar is packaged as part of the ART module host exports, use -target 8 so that it works
+ // with old JDKs.
+ java_version: "1.8",
}
// Generate Version.java based on the version number from pom.xml.