Skip to content

Hilt Android Gradle plugin 2.57.1 broken dependencies #4937

@RockLobster

Description

@RockLobster

Dependabot is trying to update my Hilt Android Gradle plugin from 2.57 to 2.57.1 and i'm getting the following error:
(Please excuse the "<REDACTED>" text, but can't share that content.)

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':<REDACTED>'.
> Could not resolve all artifacts for configuration 'classpath'.
   > Could not find org.jetbrains.kotlin:kotlin-stdlib:KOTLIN_2_0.
     Searched in the following locations:
       - <REDACTED>/org/jetbrains/kotlin/kotlin-stdlib/KOTLIN_2_0/kotlin-stdlib-KOTLIN_2_0.pom
       - <REDACTED>/org/jetbrains/kotlin/kotlin-stdlib/KOTLIN_2_0/kotlin-stdlib-KOTLIN_2_0.pom
       - <REDACTED>/org/jetbrains/kotlin/kotlin-stdlib/KOTLIN_2_0/kotlin-stdlib-KOTLIN_2_0.pom
     Required by:
         project :<REDACTED> > com.google.dagger.hilt.android:com.google.dagger.hilt.android.gradle.plugin:2.57.1 > com.google.dagger:hilt-android-gradle-plugin:2.57.1

Having a look at com.google.dagger:hilt-android-gradle-plugin:2.57.1's POM file I can indeed see that the dependency on kotlin-stdlib is stating version KOTLIN_2_0:

<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-stdlib</artifactId>
<version>KOTLIN_2_0</version>
<scope>compile</scope>
</dependency>

This seems like a mistake, as i can't find a version KOTLIN_2_0 anywhere.

Am I missing something?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions