Skip to content

Unable to run dokka with single target multiplatform project and kotlin 1.9.0 #3038

@atyrin

Description

@atyrin

Dokka tasks for a multiplatform project with a single target fail with

* Exception is:
org.gradle.api.internal.tasks.TaskDependencyResolveException: Could not determine the dependencies of task ':single-target-mpp-module:dokkaHtml'
Caused by: java.lang.UnsupportedOperationException: Empty collection can't be reduced.
	at org.jetbrains.dokka.gradle.kotlin.KotlinClasspathUtilsKt.classpathOf(kotlinClasspathUtils.kt:83)
	at org.jetbrains.dokka.gradle.kotlin.KotlinSourceSetGistKt$gistOf$3.call(KotlinSourceSetGist.kt:22)
	at org.jetbrains.dokka.gradle.kotlin.KotlinSourceSetGistKt$gistOf$3.call(KotlinSourceSetGist.kt)

Installation

  • Dokka version: 1.8.20
  • Kotlin Gradle plugin version: 1.9.0-Beta

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugregressionAn issue/bug that appeared after recent changesrunner: Gradle pluginAn issue/PR related to Dokka's Gradle plugin

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions