Skip to content

Commit

Permalink
Publication fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikolay Kochetkov committed Sep 14, 2023
1 parent be9b570 commit 96cab0d
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions commonstatemachine/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -169,6 +176,7 @@ publishing {
}
}
publications.withType<MavenPublication> {
artifact(javadocJar)
pom {
name.set(libName)
description.set(libDesc)
Expand Down
8 changes: 8 additions & 0 deletions coroutines/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -175,6 +182,7 @@ publishing {
}
}
publications.withType<MavenPublication> {
artifact(javadocJar)
pom {
name.set(libName)
description.set(libDesc)
Expand Down

0 comments on commit 96cab0d

Please sign in to comment.