Skip to content

Commit

Permalink
Add POM for the Maven publication and update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ShreckYe committed May 29, 2022
1 parent c88217a commit 60b20ab
Showing 2 changed files with 34 additions and 2 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
# Exposed on top of Vert.x Reactive SQL Client
# Exposed Vert.x SQL Client

Exposed on top of Vert.x Reactive SQL Client

## Note

Only PostgreSQL with [Reactive PostgreSQL Client](https://vertx.io/docs/vertx-pg-client/java/) is currently supported.

## About the code
Also see https://github.com/huanshankeji/kotlin-common/tree/main/exposed for some dependency code which serves this library.

Also see https://github.com/huanshankeji/kotlin-common/tree/main/exposed for some dependency code which serves this
library.
27 changes: 27 additions & 0 deletions lib/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -40,4 +40,31 @@ version = "0.1.0-kotlin-1.6.10-SNAPSHOT"

publishing.publications.getByName<MavenPublication>("maven") {
artifactId = rootProject.name + "-postgresql"

pom {
name.set("Exposed Vert.x SQL Client")
description.set("Exposed on top of Vert.x Reactive SQL Client")
val githubUrl = "https://github.com/huanshankeji/exposed-vertx-sql-client"
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("ShreckYe@gmail.com")
}
}
scm {
val scmString = "scm:git:$githubUrl.git"
connection.set(scmString)
developerConnection.set(scmString)
url.set(githubUrl)
}
}
}

0 comments on commit 60b20ab

Please sign in to comment.