diff options
author | Sam Delmerico <delmerico@google.com> | 2023-01-06 11:09:05 -0500 |
---|---|---|
committer | Sam Delmerico <delmerico@google.com> | 2023-01-06 15:08:08 -0500 |
commit | dee37cf3b273d1c564b7101902dccb63f371506e (patch) | |
tree | a1a82383a5ac2de3acdb388fe0e46021d527b797 | |
parent | f8f9d3db9845403ebeb642b28b0c1647fbd4ffc2 (diff) | |
download | kotlinc-dee37cf3b273d1c564b7101902dccb63f371506e.tar.gz |
add jdk7 dependency to kotlin-stdlib-jdk8
JDK8PlatformImplementations in kotlin-stdlib-jdk8.jar extends
JDK7PlatformImplementations that is defined in kotlin-stdlib-jdk7.
During optimization, r8 complains that JDK8PlatformImplementations is
extending a missing class, so we should instead always package the JDK7
class in with the JDK8 module.
Bug: 242088131
Change-Id: I895704e4df71db24fc813571fb5700c2707f37af
-rw-r--r-- | Android.bp | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -58,7 +58,10 @@ java_import { java_import { name: "kotlin-stdlib-jdk8", host_supported: true, - jars: ["lib/kotlin-stdlib-jdk8.jar"], + jars: [ + "lib/kotlin-stdlib-jdk8.jar", + "lib/kotlin-stdlib-jdk7.jar", + ], sdk_version: "core_current", exclude_dirs: ["META-INF/versions"], apex_available: [ |