From be8cf89bf178423e0567d1b8fec8a7cccd33f2f3 Mon Sep 17 00:00:00 2001 From: Adam Semenenko <152864218+adam-enko@users.noreply.github.com> Date: Mon, 11 Nov 2024 11:56:59 +0100 Subject: [PATCH] fix `newInstance` --- .../src/main/kotlin/adapters/KotlinAdapter.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dokka-runners/dokka-gradle-plugin/src/main/kotlin/adapters/KotlinAdapter.kt b/dokka-runners/dokka-gradle-plugin/src/main/kotlin/adapters/KotlinAdapter.kt index 9b2241f1d5..78e6053cf9 100644 --- a/dokka-runners/dokka-gradle-plugin/src/main/kotlin/adapters/KotlinAdapter.kt +++ b/dokka-runners/dokka-gradle-plugin/src/main/kotlin/adapters/KotlinAdapter.kt @@ -484,7 +484,7 @@ private class KotlinSourceSetDetailsBuilder( ): NamedDomainObjectContainer { val sourceSetDetails = objects.domainObjectContainer { name -> - objects.newInstance(name, projectPath) + objects.newInstance(name) } kotlinSourceSets.configureEach kss@{