diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml
index 875a112..a74ebba 100644
--- a/.idea/inspectionProfiles/Project_Default.xml
+++ b/.idea/inspectionProfiles/Project_Default.xml
@@ -2,21 +2,27 @@
+
+
+
+
+
+
diff --git a/commonstatemachine/build.gradle.kts b/commonstatemachine/build.gradle.kts
index ed4601a..f84691f 100644
--- a/commonstatemachine/build.gradle.kts
+++ b/commonstatemachine/build.gradle.kts
@@ -144,6 +144,13 @@ android {
}
val dokkaHtml by tasks.getting(DokkaTask::class)
+val javadocJar by tasks.creating(Jar::class) {
+ dependsOn(dokkaHtml)
+ group = "documentation"
+ archiveClassifier.set("javadoc")
+ from(tasks.dokkaHtml)
+}
+
val libId = "commonstatemachine"
val libName = "commonstatemachine"
val libDesc = "Multiplatform state machine for mobile applications"
@@ -169,6 +176,7 @@ publishing {
}
}
publications.withType {
+ artifact(javadocJar)
pom {
name.set(libName)
description.set(libDesc)
diff --git a/coroutines/build.gradle.kts b/coroutines/build.gradle.kts
index c91a237..54f98a9 100644
--- a/coroutines/build.gradle.kts
+++ b/coroutines/build.gradle.kts
@@ -150,6 +150,13 @@ android {
}
val dokkaHtml by tasks.getting(DokkaTask::class)
+val javadocJar by tasks.creating(Jar::class) {
+ dependsOn(dokkaHtml)
+ group = "documentation"
+ archiveClassifier.set("javadoc")
+ from(tasks.dokkaHtml)
+}
+
val libId = "coroutines"
val libName = "coroutines"
val libDesc = "Coroutines extension for CommonStateMachine"
@@ -175,6 +182,7 @@ publishing {
}
}
publications.withType {
+ artifact(javadocJar)
pom {
name.set(libName)
description.set(libDesc)