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

Gradle unable to resolve dependency on kotlinx v 0.7.2 #292

Open
HPNavjot opened this issue Jan 20, 2025 · 0 comments
Open

Gradle unable to resolve dependency on kotlinx v 0.7.2 #292

HPNavjot opened this issue Jan 20, 2025 · 0 comments

Comments

@HPNavjot
Copy link

HPNavjot commented Jan 20, 2025

I use detekt v1.14.2 but recently I am facing issue as the gradle failed to download kotlinx-html-jvm v0.7.2

Execution failed for task ':sample-core:detekt'.
> Could not resolve all files for configuration ':sample-core:detekt'.
   > Could not find org.jetbrains.kotlinx:kotlinx-html-jvm:0.7.2.
     Searched in the following locations:
       - https://repo.maven.apache.org/maven2/org/jetbrains/kotlinx/kotlinx-html-jvm/0.7.2/kotlinx-html-jvm-0.7.2.pom
       - https://jcenter.bintray.com/org/jetbrains/kotlinx/kotlinx-html-jvm/0.7.2/kotlinx-html-jvm-0.7.2.pom
     Required by:
         project :sample-core > io.gitlab.arturbosch.detekt:detekt-cli:1.14.2 > io.gitlab.arturbosch.detekt:detekt-bom:1.14.2
   > Could not find org.jetbrains.kotlinx:kotlinx-html-jvm:0.7.2.
     Searched in the following locations:
       - https://repo.maven.apache.org/maven2/org/jetbrains/kotlinx/kotlinx-html-jvm/0.7.2/kotlinx-html-jvm-0.7.2.pom
       - https://jcenter.bintray.com/org/jetbrains/kotlinx/kotlinx-html-jvm/0.7.2/kotlinx-html-jvm-0.7.2.pom
     Required by:
         project :sample-core > io.gitlab.arturbosch.detekt:detekt-cli:1.14.2 > io.gitlab.arturbosch.detekt:detekt-core:1.14.2 > io.gitlab.arturbosch.detekt:detekt-report-html:1.14.2

Possible solution:
 - Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html

Seems like the directory for v0.7.2 does not exist at https://repo.maven.apache.org/maven2/org/jetbrains/kotlinx/kotlinx-html-jvm/

@HPNavjot HPNavjot changed the title Gradle nnable to resolve dependency on kotlinx v 0.7.2 Gradle unable to resolve dependency on kotlinx v 0.7.2 Jan 20, 2025
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

No branches or pull requests

1 participant