Skip to content

Commit

Permalink
Add POM info to publish to Maven Central
Browse files Browse the repository at this point in the history
  • Loading branch information
ShreckYe committed Jun 2, 2022
1 parent 81f30f5 commit 10b1f01
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions lib/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,31 @@ val javadocJar by tasks.registering(Jar::class) {

publishing.publications.withType<MavenPublication> {
artifact(javadocJar)

pom {
name.set("Compose for Web Material")
description.set("Some Material components for Compose for Web")
val githubUrl = "https://github.com/huanshankeji/compose-web-material"
url.set(githubUrl)

licenses {
license {
name.set("The Apache License, Version 2.0")
url.set("http://www.apache.org/licenses/LICENSE-2.0.txt")
}
}
developers {
developer {
id.set("ShreckYe")
name.set("Shreck Ye")
email.set("[email protected]")
}
}
scm {
val scmString = "scm:git:$githubUrl.git"
connection.set(scmString)
developerConnection.set(scmString)
url.set(githubUrl)
}
}
}

0 comments on commit 10b1f01

Please sign in to comment.