Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/actions/build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ runs:
run: ./gradlew -p sample-app assembleRelease
- name: Build dokka
shell: bash
run: ./gradlew dokkaHtmlCollector
run: ./gradlew dokkaGeneratePublicationHtml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ class MavenCentralPublishConventionPlugin : Plugin<Project> {

val javadocJar = tasks.register("javadocJar", Jar::class.java) {
archiveClassifier.set("javadoc")
from(tasks.getByName("dokkaHtml"))
from(tasks.getByName("dokkaGeneratePublicationHtml"))
// from(tasks.getByName("dokkaGeneratePublicationJavadoc"))
}

extensions.configure<PublishingExtension> {
Expand Down
4 changes: 3 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,6 @@ kotlin.native.cacheKind.iosSimulatorArm64=none
compose.kotlin.native.manageCacheKind=false

# ok with "new" memory model
kotlin.native.binary.objcExportSuspendFunctionLaunchThreadRestriction=none
kotlin.native.binary.objcExportSuspendFunctionLaunchThreadRestriction=none

org.jetbrains.dokka.experimental.gradle.pluginMode=V2Enabled
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ androidxActivity = "1.11.0"
androidxAppCompat = "1.7.1"
coreKtx = "1.17.0"

dokka = "1.9.20"
dokka = "2.0.0"
nexus-publish-plugin = "2.0.0"
mlkit-document-scanner = "16.0.0-beta1"

Expand Down