author | Colin Cross <ccross@android.com> | |
Wed, 8 May 2019 21:30:12 +0000 (14:30 -0700) | ||
committer | Colin Cross <ccross@android.com> | |
Wed, 8 May 2019 21:30:12 +0000 (14:30 -0700) | ||
commit | 6c6e6cd64d7754a988c2a4172010dce4e39cadd0 | |
tree | 18159bad6c412837e99f8ab0b9884d8b62862e76 | tree | snapshot (tar.xz tar.gz zip) |
parent | 082640d6ee836bd440b7bf7794d8cf520b1e089f | commit | diff |
Don't hide *.kotlin_module in turbine dependencies
The jars containing the merged header classes from transitive
static dependencies were stripping all of META-INF/. Kotlin
puts metadata in META-INF that is used to map the package to
the static class that contains the package-level functions.
This also exposed that the metadata in META-INF is always
called "name.kotlin_module", so a library that contains
kotlin files with a dependency that also contains kotlin files
would shade the metadata file. Use a unique name instead.
Fixes: 131709692
Test: m checkbuild
Change-Id: I5cd276e563206e37c4c0d90fe9f346e9396f88c0
The jars containing the merged header classes from transitive
static dependencies were stripping all of META-INF/. Kotlin
puts metadata in META-INF that is used to map the package to
the static class that contains the package-level functions.
This also exposed that the metadata in META-INF is always
called "name.kotlin_module", so a library that contains
kotlin files with a dependency that also contains kotlin files
would shade the metadata file. Use a unique name instead.
Fixes: 131709692
Test: m checkbuild
Change-Id: I5cd276e563206e37c4c0d90fe9f346e9396f88c0
java/device_host_converter.go | diff | blob | history | |
java/java.go | diff | blob | history | |
java/kotlin.go | diff | blob | history | |
scripts/gen-kotlin-build-file.sh | diff | blob | history |