-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add POM info to publish to Maven Central
- Loading branch information
Showing
1 changed file
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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) | ||
} | ||
} | ||
} |