Skip to content

Commit a406fbc

Browse files
committed
Added Dokka documentation
1 parent 605de55 commit a406fbc

2 files changed

Lines changed: 9 additions & 4 deletions

File tree

composeextensions/build.gradle.kts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import org.jetbrains.dokka.gradle.tasks.DokkaGenerateTask
2+
13
plugins {
24
alias(libs.plugins.android.library)
35
alias(libs.plugins.kotlin.compose)
@@ -63,8 +65,11 @@ dependencies {
6365
// Creates a JAR file from the output of the dokkaHtml task.
6466
// This is used to publish the documentation along with the library.
6567
tasks.register<Jar>("javadocJar") {
66-
dependsOn(tasks.named("dokkaHtml"))
67-
from(tasks.named<org.jetbrains.dokka.gradle.DokkaTask>("dokkaGenerateHtml").flatMap { it.outputDirectory })
68+
val dokkaHtml = tasks.named<DokkaGenerateTask>("dokkaGenerateHtml")
69+
70+
dependsOn(dokkaHtml)
71+
72+
from(dokkaHtml.flatMap { it.outputDirectory })
6873
archiveClassifier.set("javadoc")
6974
}
7075

gradle/libs.versions.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ agp = "9.0.0"
33
kotlin = "2.3.0"
44
coreKtx = "1.17.0"
55

6-
activityCompose = "1.12.2"
7-
composeBom = "2026.01.00"
6+
activityCompose = "1.12.3"
7+
composeBom = "2026.01.01"
88

99
androidx-lifecycle-compose = "2.10.0"
1010

0 commit comments

Comments
 (0)