Skip to content

Commit

Permalink
Fix maven central publication
Browse files Browse the repository at this point in the history
  • Loading branch information
rjaros committed Jun 19, 2022
1 parent 78d36c2 commit 41bfb03
Show file tree
Hide file tree
Showing 45 changed files with 6 additions and 131 deletions.
3 changes: 0 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,6 @@ publishing {
from(components["kotlin"])
artifact(tasks["sourcesJar"])
if (!hasProperty("SNAPSHOT")) artifact(tasks["javadocJar"])
pom {
defaultPom()
}
}
}
}
Expand Down
6 changes: 4 additions & 2 deletions buildSrc/src/main/kotlin/Shared.kt
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,14 @@ fun KotlinMultiplatformExtension.kotlinJvmTargets() {
}
}

val kvisionProjectName = "KVision"
val kvisionProjectDescription = "Object oriented web framework for Kotlin/JS"
val kvisionProjectWebsite = "https://github.com/rjaros/kvision"
val kvisionVcsUrl = "https://github.com/rjaros/kvision.git"

fun MavenPom.defaultPom() {
name.set("KVision")
description.set("Object oriented web framework for Kotlin/JS")
name.set(kvisionProjectName)
description.set(kvisionProjectDescription)
url.set(kvisionProjectWebsite)
licenses {
license {
Expand Down
3 changes: 0 additions & 3 deletions kvision-modules/kvision-bootstrap-css/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,6 @@ publishing {
from(components["kotlin"])
artifact(tasks["sourcesJar"])
if (!hasProperty("SNAPSHOT")) artifact(tasks["javadocJar"])
pom {
defaultPom()
}
}
}
}
Expand Down
3 changes: 0 additions & 3 deletions kvision-modules/kvision-bootstrap-datetime/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@ publishing {
from(components["kotlin"])
artifact(tasks["sourcesJar"])
if (!hasProperty("SNAPSHOT")) artifact(tasks["javadocJar"])
pom {
defaultPom()
}
}
}
}
Expand Down
3 changes: 0 additions & 3 deletions kvision-modules/kvision-bootstrap-dialog/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@ publishing {
from(components["kotlin"])
artifact(tasks["sourcesJar"])
if (!hasProperty("SNAPSHOT")) artifact(tasks["javadocJar"])
pom {
defaultPom()
}
}
}
}
Expand Down
3 changes: 0 additions & 3 deletions kvision-modules/kvision-bootstrap-icons/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,6 @@ publishing {
from(components["kotlin"])
artifact(tasks["sourcesJar"])
if (!hasProperty("SNAPSHOT")) artifact(tasks["javadocJar"])
pom {
defaultPom()
}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,6 @@ publishing {
from(components["kotlin"])
artifact(tasks["sourcesJar"])
if (!hasProperty("SNAPSHOT")) artifact(tasks["javadocJar"])
pom {
defaultPom()
}
}
}
}
Expand Down
3 changes: 0 additions & 3 deletions kvision-modules/kvision-bootstrap-select/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@ publishing {
from(components["kotlin"])
artifact(tasks["sourcesJar"])
if (!hasProperty("SNAPSHOT")) artifact(tasks["javadocJar"])
pom {
defaultPom()
}
}
}
}
Expand Down
3 changes: 0 additions & 3 deletions kvision-modules/kvision-bootstrap-spinner/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@ publishing {
from(components["kotlin"])
artifact(tasks["sourcesJar"])
if (!hasProperty("SNAPSHOT")) artifact(tasks["javadocJar"])
pom {
defaultPom()
}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@ publishing {
from(components["kotlin"])
artifact(tasks["sourcesJar"])
if (!hasProperty("SNAPSHOT")) artifact(tasks["javadocJar"])
pom {
defaultPom()
}
}
}
}
Expand Down
3 changes: 0 additions & 3 deletions kvision-modules/kvision-bootstrap-typeahead/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@ publishing {
from(components["kotlin"])
artifact(tasks["sourcesJar"])
if (!hasProperty("SNAPSHOT")) artifact(tasks["javadocJar"])
pom {
defaultPom()
}
}
}
}
Expand Down
3 changes: 0 additions & 3 deletions kvision-modules/kvision-bootstrap-upload/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,6 @@ publishing {
from(components["kotlin"])
artifact(tasks["sourcesJar"])
if (!hasProperty("SNAPSHOT")) artifact(tasks["javadocJar"])
pom {
defaultPom()
}
}
}
}
Expand Down
3 changes: 0 additions & 3 deletions kvision-modules/kvision-bootstrap/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@ publishing {
from(components["kotlin"])
artifact(tasks["sourcesJar"])
if (!hasProperty("SNAPSHOT")) artifact(tasks["javadocJar"])
pom {
defaultPom()
}
}
}
}
Expand Down
3 changes: 0 additions & 3 deletions kvision-modules/kvision-chart/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@ publishing {
from(components["kotlin"])
artifact(tasks["sourcesJar"])
if (!hasProperty("SNAPSHOT")) artifact(tasks["javadocJar"])
pom {
defaultPom()
}
}
}
}
Expand Down
3 changes: 0 additions & 3 deletions kvision-modules/kvision-chart2/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@ publishing {
from(components["kotlin"])
artifact(tasks["sourcesJar"])
if (!hasProperty("SNAPSHOT")) artifact(tasks["javadocJar"])
pom {
defaultPom()
}
}
}
}
Expand Down
3 changes: 0 additions & 3 deletions kvision-modules/kvision-cordova/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@ publishing {
from(components["kotlin"])
artifact(tasks["sourcesJar"])
if (!hasProperty("SNAPSHOT")) artifact(tasks["javadocJar"])
pom {
defaultPom()
}
}
}
}
Expand Down
3 changes: 0 additions & 3 deletions kvision-modules/kvision-datacontainer/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@ publishing {
from(components["kotlin"])
artifact(tasks["sourcesJar"])
if (!hasProperty("SNAPSHOT")) artifact(tasks["javadocJar"])
pom {
defaultPom()
}
}
}
}
Expand Down
3 changes: 0 additions & 3 deletions kvision-modules/kvision-electron/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,6 @@ publishing {
from(components["kotlin"])
artifact(tasks["sourcesJar"])
if (!hasProperty("SNAPSHOT")) artifact(tasks["javadocJar"])
pom {
defaultPom()
}
}
}
}
Expand Down
3 changes: 0 additions & 3 deletions kvision-modules/kvision-fontawesome/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,6 @@ publishing {
from(components["kotlin"])
artifact(tasks["sourcesJar"])
if (!hasProperty("SNAPSHOT")) artifact(tasks["javadocJar"])
pom {
defaultPom()
}
}
}
}
Expand Down
3 changes: 0 additions & 3 deletions kvision-modules/kvision-handlebars/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@ publishing {
from(components["kotlin"])
artifact(tasks["sourcesJar"])
if (!hasProperty("SNAPSHOT")) artifact(tasks["javadocJar"])
pom {
defaultPom()
}
}
}
}
Expand Down
3 changes: 0 additions & 3 deletions kvision-modules/kvision-i18n/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@ publishing {
from(components["kotlin"])
artifact(tasks["sourcesJar"])
if (!hasProperty("SNAPSHOT")) artifact(tasks["javadocJar"])
pom {
defaultPom()
}
}
}
}
Expand Down
3 changes: 0 additions & 3 deletions kvision-modules/kvision-imask/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@ publishing {
from(components["kotlin"])
artifact(tasks["sourcesJar"])
if (!hasProperty("SNAPSHOT")) artifact(tasks["javadocJar"])
pom {
defaultPom()
}
}
}
}
Expand Down
3 changes: 0 additions & 3 deletions kvision-modules/kvision-jquery/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@ publishing {
from(components["kotlin"])
artifact(tasks["sourcesJar"])
if (!hasProperty("SNAPSHOT")) artifact(tasks["javadocJar"])
pom {
defaultPom()
}
}
}
}
Expand Down
3 changes: 0 additions & 3 deletions kvision-modules/kvision-maps/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,6 @@ publishing {
from(components["kotlin"])
artifact(tasks["sourcesJar"])
if (!hasProperty("SNAPSHOT")) artifact(tasks["javadocJar"])
pom {
defaultPom()
}
}
}
}
Expand Down
3 changes: 0 additions & 3 deletions kvision-modules/kvision-moment/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,6 @@ publishing {
from(components["kotlin"])
artifact(tasks["sourcesJar"])
if (!hasProperty("SNAPSHOT")) artifact(tasks["javadocJar"])
pom {
defaultPom()
}
}
}
}
Expand Down
3 changes: 0 additions & 3 deletions kvision-modules/kvision-onsenui/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@ publishing {
from(components["kotlin"])
artifact(tasks["sourcesJar"])
if (!hasProperty("SNAPSHOT")) artifact(tasks["javadocJar"])
pom {
defaultPom()
}
}
}
}
Expand Down
3 changes: 0 additions & 3 deletions kvision-modules/kvision-pace/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,6 @@ publishing {
from(components["kotlin"])
artifact(tasks["sourcesJar"])
if (!hasProperty("SNAPSHOT")) artifact(tasks["javadocJar"])
pom {
defaultPom()
}
}
}
}
Expand Down
3 changes: 0 additions & 3 deletions kvision-modules/kvision-print/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,6 @@ publishing {
from(components["kotlin"])
artifact(tasks["sourcesJar"])
if (!hasProperty("SNAPSHOT")) artifact(tasks["javadocJar"])
pom {
defaultPom()
}
}
}
}
Expand Down
3 changes: 0 additions & 3 deletions kvision-modules/kvision-react/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,6 @@ publishing {
from(components["kotlin"])
artifact(tasks["sourcesJar"])
if (!hasProperty("SNAPSHOT")) artifact(tasks["javadocJar"])
pom {
defaultPom()
}
}
}
}
Expand Down
3 changes: 0 additions & 3 deletions kvision-modules/kvision-redux-kotlin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,6 @@ publishing {
from(components["kotlin"])
artifact(tasks["sourcesJar"])
if (!hasProperty("SNAPSHOT")) artifact(tasks["javadocJar"])
pom {
defaultPom()
}
}
}
}
Expand Down
3 changes: 0 additions & 3 deletions kvision-modules/kvision-redux/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,6 @@ publishing {
from(components["kotlin"])
artifact(tasks["sourcesJar"])
if (!hasProperty("SNAPSHOT")) artifact(tasks["javadocJar"])
pom {
defaultPom()
}
}
}
}
Expand Down
3 changes: 0 additions & 3 deletions kvision-modules/kvision-rest/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@ publishing {
from(components["kotlin"])
artifact(tasks["sourcesJar"])
if (!hasProperty("SNAPSHOT")) artifact(tasks["javadocJar"])
pom {
defaultPom()
}
}
}
}
Expand Down
3 changes: 0 additions & 3 deletions kvision-modules/kvision-richtext/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@ publishing {
from(components["kotlin"])
artifact(tasks["sourcesJar"])
if (!hasProperty("SNAPSHOT")) artifact(tasks["javadocJar"])
pom {
defaultPom()
}
}
}
}
Expand Down
3 changes: 0 additions & 3 deletions kvision-modules/kvision-routing-navigo-ng/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@ publishing {
from(components["kotlin"])
artifact(tasks["sourcesJar"])
if (!hasProperty("SNAPSHOT")) artifact(tasks["javadocJar"])
pom {
defaultPom()
}
}
}
}
Expand Down
3 changes: 0 additions & 3 deletions kvision-modules/kvision-routing-navigo/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@ publishing {
from(components["kotlin"])
artifact(tasks["sourcesJar"])
if (!hasProperty("SNAPSHOT")) artifact(tasks["javadocJar"])
pom {
defaultPom()
}
}
}
}
Expand Down
3 changes: 0 additions & 3 deletions kvision-modules/kvision-simple-select-remote/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@ publishing {
from(components["kotlin"])
artifact(tasks["sourcesJar"])
if (!hasProperty("SNAPSHOT")) artifact(tasks["javadocJar"])
pom {
defaultPom()
}
}
}
}
Expand Down
3 changes: 0 additions & 3 deletions kvision-modules/kvision-state-flow/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@ publishing {
from(components["kotlin"])
artifact(tasks["sourcesJar"])
if (!hasProperty("SNAPSHOT")) artifact(tasks["javadocJar"])
pom {
defaultPom()
}
}
}
}
Expand Down
3 changes: 0 additions & 3 deletions kvision-modules/kvision-state/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@ publishing {
from(components["kotlin"])
artifact(tasks["sourcesJar"])
if (!hasProperty("SNAPSHOT")) artifact(tasks["javadocJar"])
pom {
defaultPom()
}
}
}
}
Expand Down
3 changes: 0 additions & 3 deletions kvision-modules/kvision-tabulator-remote/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@ publishing {
from(components["kotlin"])
artifact(tasks["sourcesJar"])
if (!hasProperty("SNAPSHOT")) artifact(tasks["javadocJar"])
pom {
defaultPom()
}
}
}
}
Expand Down
Loading

0 comments on commit 41bfb03

Please sign in to comment.