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

Access the Kotlin metadata API through reflection. #1575

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Aug 14, 2023

  1. Access the Kotlin metadata API through reflection.

    This means we don't need a dependency on that API when building AutoValue. Therefore users can freely supply the version of the API that corresponds to the actual Kotlin version they are using. The downside is that they may need to add that dependency explicitly when previously they were getting it through AutoValue. (But possibly getting the wrong version.)
    
    Fixes #1574.
    
    RELNOTES=AutoValue no longer has an explicit dependency on the Kotlin Metadata API. **You may need to add an explicit dependency on `org.jetbrains.kotlinx:kotlinx-metadata-jvm.** The reason for this change is to avoid problems that occurred when the version of the API that AutoValue bundles was different from the version that the user code expected. See #1574.
    PiperOrigin-RevId: 556951184
    eamonnmcmanus authored and Google Java Core Libraries committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    f8f0dec View commit details
    Browse the repository at this point in the history