Snap for 9406101 from 72d01e3648e16613d4fa72478afa13b2b896b69a to udc-release
Change-Id: I33c79330c4fec7d618a3f210a1251ea47da476db
diff --git a/Android.bp b/Android.bp
index d1ee62d..da07d37 100644
--- a/Android.bp
+++ b/Android.bp
@@ -38,11 +38,16 @@
java_library {
name: "apache-commons-compress",
+ host_supported: true,
srcs: [
"src/main/java/**/*.java",
"src/stub/java/**/*.java",
],
- static_libs: ["xz-java","brotli-java"],
+ static_libs: [
+ "brotli-java",
+ "xz-java",
+ ],
+ java_version: "1.7", // Needed for Pack200, which is removed in newer versions
sdk_version: "current",
// TODO(b/237039251) use "apex_inherit" when Java modules support it
min_sdk_version: "29",