mirror of
https://github.com/hanzo-kotlin/sdk.git
synced 2026-10-30 20:02:19 +00:00
00315f65c8
* chore: sync repo * release: 0.1.0-alpha.4 --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
37 lines
924 B
Kotlin
37 lines
924 B
Kotlin
plugins {
|
|
id("org.jetbrains.dokka") version "2.0.0"
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
allprojects {
|
|
group = "ai.hanzo.api"
|
|
version = "0.1.0-alpha.4" // x-release-please-version
|
|
}
|
|
|
|
subprojects {
|
|
// These are populated with dependencies by `buildSrc` scripts.
|
|
tasks.register("format") {
|
|
group = "Verification"
|
|
description = "Formats all source files."
|
|
}
|
|
tasks.register("lint") {
|
|
group = "Verification"
|
|
description = "Verifies all source files are formatted."
|
|
}
|
|
apply(plugin = "org.jetbrains.dokka")
|
|
}
|
|
|
|
subprojects {
|
|
apply(plugin = "org.jetbrains.dokka")
|
|
}
|
|
|
|
// Avoid race conditions between `dokkaHtmlCollector` and `dokkaJavadocJar` tasks
|
|
tasks.named("dokkaHtmlCollector").configure {
|
|
subprojects.flatMap { it.tasks }
|
|
.filter { it.project.name != "hanzo-kotlin" && it.name == "dokkaJavadocJar" }
|
|
.forEach { mustRunAfter(it) }
|
|
}
|