Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@atyrin
Copy link
Contributor

@atyrin atyrin commented Mar 20, 2025

The current approach doesn't work after changes in https://youtrack.jetbrains.com/issue/KT-73968

Dokka build is failing with the latest Kotlin dev build (2.2.0-dev-11137) that includes (JetBrains/kotlin@431201f)
The change also will be included in KGP 2.1.21

* What went wrong:
  Could not determine the dependencies of task ':dokka-subprojects:plugin-base:downloadKotlinStdlibSources'.
  > Could not resolve all dependencies for configuration ':dokka-subprojects:plugin-base:kotlinStdlibJvmSourcesResolver'.
     > Could not find org.jetbrains.kotlin:kotlin-stdlib:.
       Required by:
           project :dokka-subprojects:plugin-base
  
  * Try:
  > Run with --debug option to get more log output.
  > Get more help at https://help.gradle.org/
  
  * Exception is:
  org.gradle.api.internal.tasks.TaskDependencyResolveException: Could not determine the dependencies of task ':dokka-subprojects:plugin-base:downloadKotlinStdlibSources'.
    at org.gradle.api.internal.tasks.CachingTaskDependencyResolveContext.getDependencies(CachingTaskDependencyResolveContext.java:70)

  Caused by: org.gradle.api.internal.artifacts.ivyservice.TypedResolveException: Could not resolve all dependencies for configuration ':dokka-subprojects:plugin-base:kotlinStdlibJvmSourcesResolver'.
    at org.gradle.api.internal.artifacts.ResolveExceptionMapper.mapFailure(ResolveExceptionMapper.java:68)

    ... 146 more
  Caused by: org.gradle.internal.resolve.ModuleVersionNotFoundException: Could not find org.jetbrains.kotlin:kotlin-stdlib:.
  Required by:
      project :dokka-subprojects:plugin-base

@atyrin atyrin requested a review from adam-enko March 20, 2025 15:03
@atyrin atyrin force-pushed the atyrin/fix-stdlib-resolve branch from 115e6aa to 2f0907b Compare March 25, 2025 14:52
@atyrin atyrin merged commit 5377ffe into master Mar 26, 2025
13 of 14 checks passed
@atyrin atyrin deleted the atyrin/fix-stdlib-resolve branch March 26, 2025 11:02
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.

3 participants