Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove META-INF/*.kotlin_module entries from the AutoValue jar. #1576

Closed
wants to merge 1 commit into from

Conversation

copybara-service[bot]
Copy link
Contributor

Remove META-INF/*.kotlin_module entries from the AutoValue jar.

We bundle a shaded copy of kotlinx.metadata.jvm and related libraries, which we use to inspect Kotlin data classes. The libraries are only called from Java code, which means that META-INF/kotlinx-metadata-jvm.kotlin_module and the like serve no purpose, other than to confuse the Kotlin compiler when it sees these entries.

Fixes #1574.

RELNOTES=An "incompatible version" issue with Kotlin compilation has been fixed. See #1574.

We bundle a shaded copy of `kotlinx.metadata.jvm` and related libraries, which we use to inspect Kotlin data classes. The libraries are only called from Java code, which means that `META-INF/kotlinx-metadata-jvm.kotlin_module` and the like serve no purpose, other than to confuse the Kotlin compiler when it sees these entries.

Fixes #1574.

RELNOTES=An "incompatible version" issue with Kotlin compilation has been fixed. See #1574.
PiperOrigin-RevId: 557180357
@copybara-service copybara-service bot force-pushed the test_main_557180357 branch 2 times, most recently from 3317f71 to b21c7f4 Compare August 15, 2023 19:20
@copybara-service copybara-service bot closed this Aug 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

auto-value 1.10.2 breaks compatibility with Kotlin 1.6
1 participant