Skip to content

Commit 6e67d22

Browse files
committed
library: Bump version to 0.4.2
1 parent 958ad9c commit 6e67d22

File tree

2 files changed

+15
-13
lines changed

2 files changed

+15
-13
lines changed

convention-plugins/src/main/kotlin/module.publication.gradle.kts

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,25 @@ plugins {
33
signing
44
}
55

6+
val javadocJar by tasks.registering(Jar::class) {
7+
archiveClassifier.set("javadoc")
8+
}
9+
610
val githubUrl = "https://github.com"
711
val projectUrl = "$githubUrl/miuix-kotlin-multiplatform/miuix"
812

913
publishing {
14+
// Configure the publication repository
15+
repositories {
16+
maven {
17+
url = uri(layout.buildDirectory.dir("repo"))
18+
}
19+
}
20+
// Configure all publications
1021
publications.withType<MavenPublication> {
1122
// Stub javadoc.jar artifact
12-
artifact(tasks.register("${name}JavadocJar", Jar::class) {
13-
archiveClassifier.set("javadoc")
14-
archiveAppendix.set(this@withType.name)
15-
})
16-
17-
// Provide artifacts information required by Maven Central
23+
artifact(javadocJar.get())
24+
// Provide artifacts information required
1825
pom {
1926
name.set("miuix")
2027
description.set("A UI library for Compose MultiPlatform")
@@ -52,14 +59,9 @@ publishing {
5259
}
5360
}
5461
}
55-
56-
repositories {
57-
maven {
58-
url = uri(layout.buildDirectory.dir("repo"))
59-
}
60-
}
6162
}
6263

64+
// Signing artifacts.
6365
signing {
6466
useGpgCmd()
6567
sign(publishing.publications)
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
allprojects {
22
group = "top.yukonga.miuix.kmp"
3-
version = "0.4.1"
3+
version = "0.4.2"
44
}

0 commit comments

Comments
 (0)