Skip to content

Commit

Permalink
prepare for publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
SMILEY4 committed Aug 20, 2022
1 parent a8cec17 commit a5802fa
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,21 @@ tasks.withType<KotlinCompile> {
kotlinOptions.jvmTarget = "1.8"
}

java {
withJavadocJar()
withSourcesJar()
}

publishing {
publications {
create<MavenPublication>("maven") {
artifactId = "ktor-swagger-ui"
from(components["java"])
pom {
name.set("Ktor Swagger-UI")
description.set("Ktor plugin to document routes and enable Swagger UI ")
url.set("https://github.com/SMILEY4/ktor-swagger-ui")
}
}
}
}

0 comments on commit a5802fa

Please sign in to comment.