Skip to content

Update kotlin-metadata-jvm to 2.3+ for Kotlin 2.4 support #1661

@3flex

Description

@3flex

Is your feature request related to a problem? Please describe.
DAGP doesn't work when using Kotlin 2.4.0.

Describe the solution you'd like
Bump the kotlin-metadata-jvm dependency.

Describe alternatives you've considered
None available.

Additional context
The 2.4.0-Beta1 is about to be released. DAGP uses kotlin-metadata-jvm 2.2.20 which doesn't support Kotlin metadata 2.4.0.

Related:

A workaround is to override the classpath. If applying DAGP in the settings file, try inserting this in the settings file before the plugins block (if there is one):

buildscript {
    dependencies {
        classpath("org.jetbrains.kotlin:kotlin-metadata-jvm:2.3.20")
    }
}

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions