Skip to content

Commit 8db8735

Browse files
committed
Disable dokka generation
This is failing on gradle publish, hence disabling it for now
1 parent e2f31d8 commit 8db8735

File tree

2 files changed

+24
-24
lines changed

2 files changed

+24
-24
lines changed

build.gradle.kts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
plugins {
2-
id("org.jetbrains.dokka") version "2.0.0"
2+
// id("org.jetbrains.dokka") version "2.0.0"
33
}
44

55
allprojects {
@@ -8,12 +8,12 @@ allprojects {
88
}
99

1010
subprojects {
11-
apply(plugin = "org.jetbrains.dokka")
11+
// apply(plugin = "org.jetbrains.dokka")
1212
}
1313

1414
// Avoid race conditions between `dokkaHtmlCollector` and `dokkaJavadocJar` tasks
15-
tasks.named("dokkaHtmlCollector").configure {
16-
subprojects.flatMap { it.tasks }
17-
.filter { it.project.name != "llama-stack-client-kotlin" && it.name == "dokkaJavadocJar" }
18-
.forEach { mustRunAfter(it) }
19-
}
15+
//tasks.named("dokkaHtmlCollector").configure {
16+
// subprojects.flatMap { it.tasks }
17+
// .filter { it.project.name != "llama-stack-client-kotlin" && it.name == "dokkaJavadocJar" }
18+
// .forEach { mustRunAfter(it) }
19+
//}

llama-stack-client-kotlin/build.gradle.kts

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,20 @@ dependencies {
1111
// Redefine `dokkaHtml` to:
1212
// - Depend on the root project's task for merging the docs of all the projects
1313
// - Forward that task's output to this task's output
14-
tasks.named("dokkaHtml").configure {
15-
actions.clear()
16-
17-
val dokkaHtmlCollector = rootProject.tasks["dokkaHtmlCollector"]
18-
dependsOn(dokkaHtmlCollector)
19-
20-
val outputDirectory = project.layout.buildDirectory.dir("dokka/html")
21-
doLast {
22-
copy {
23-
from(dokkaHtmlCollector.outputs.files)
24-
into(outputDirectory)
25-
duplicatesStrategy = DuplicatesStrategy.INCLUDE
26-
}
27-
}
28-
29-
outputs.dir(outputDirectory)
30-
}
14+
//tasks.named("dokkaHtml").configure {
15+
// actions.clear()
16+
//
17+
// val dokkaHtmlCollector = rootProject.tasks["dokkaHtmlCollector"]
18+
// dependsOn(dokkaHtmlCollector)
19+
//
20+
// val outputDirectory = project.layout.buildDirectory.dir("dokka/html")
21+
// doLast {
22+
// copy {
23+
// from(dokkaHtmlCollector.outputs.files)
24+
// into(outputDirectory)
25+
// duplicatesStrategy = DuplicatesStrategy.INCLUDE
26+
// }
27+
// }
28+
//
29+
// outputs.dir(outputDirectory)
30+
//}

0 commit comments

Comments
 (0)