Migrate API documentation publisher to Dokka 2.2
Use the current publication task and retain the existing output directory and upload destination. Allocate sufficient memory for Kotlin multiplatform API analysis.
This commit is contained in:
1 parent
617f22dda1
commit
a1f1789d7b
2 files changed
+7
-8
No files matched your search
+5
-7
@@ -15,7 +15,7 @@ plugins {
|
||||
id("org.jetbrains.kotlin.plugin.serialization") version "2.2.21"
|
||||
id("com.android.library") version "8.7.2" apply true
|
||||
`maven-publish`
|
||||
id("org.jetbrains.dokka") version "1.9.20"
|
||||
id("org.jetbrains.dokka") version "2.2.0"
|
||||
}
|
||||
|
||||
group = "net.sergeych"
|
||||
@@ -174,15 +174,13 @@ publishing {
|
||||
}
|
||||
|
||||
|
||||
tasks.dokkaHtml.configure {
|
||||
outputDirectory.set(buildDir.resolve("dokka"))
|
||||
dokkaSourceSets {
|
||||
configureEach {
|
||||
// includes.from("docs/bipack.md")
|
||||
}
|
||||
dokka {
|
||||
dokkaPublications.html {
|
||||
outputDirectory.set(layout.buildDirectory.dir("dokka"))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
android {
|
||||
namespace = "net.sergeych.kiloparsec"
|
||||
compileSdk = 34
|
||||
|
||||
Reference in new issue
Block a user