File tree Expand file tree Collapse file tree 2 files changed +15
-13
lines changed
convention-plugins/src/main/kotlin Expand file tree Collapse file tree 2 files changed +15
-13
lines changed Original file line number Diff line number Diff 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+
610val githubUrl = " https://github.com"
711val projectUrl = " $githubUrl /miuix-kotlin-multiplatform/miuix"
812
913publishing {
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.
6365signing {
6466 useGpgCmd()
6567 sign(publishing.publications)
Original file line number Diff line number Diff line change 11allprojects {
22 group = " top.yukonga.miuix.kmp"
3- version = " 0.4.1 "
3+ version = " 0.4.2 "
44}
You can’t perform that action at this time.
0 commit comments