Skip to content

Commit cbfab24

Browse files
committed
Release 0.0.0
First release.
1 parent 454c440 commit cbfab24

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

build.gradle.kts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ val dokkaJar by tasks.creating(Jar::class) {
9898
val sourceJar by tasks.creating(Jar::class) {
9999
archiveClassifier.set("sources")
100100
}
101+
val emptyJar by tasks.creating(Jar::class)
101102

102103
tasks.create("publishAppleToMavenLocal") {
103104
group = "publishing"
@@ -158,7 +159,10 @@ publishing {
158159
artifact(dokkaJar)
159160
pom.initPom()
160161
}
161-
publications.withType<MavenPublication>().find { it.name == "kotlinMultiplatform" }?.artifact(sourceJar)
162+
publications.withType<MavenPublication>().find { it.name == "kotlinMultiplatform" }?.apply {
163+
artifact(sourceJar)
164+
artifact(emptyJar)
165+
}
162166

163167
repositories {
164168
maven {

0 commit comments

Comments
 (0)