Skip to content

Commit 36578ab

Browse files
committed
Add metadata required for maven central
1 parent ed2ac3a commit 36578ab

File tree

9 files changed

+32
-0
lines changed

9 files changed

+32
-0
lines changed

buildSrc/src/main/kotlin/common-library.gradle.kts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,14 @@ mavenPublishing {
5555
)
5656
}
5757

58+
publishing {
59+
publications {
60+
withType<MavenPublication> {
61+
versionMapping { allVariants { fromResolutionResult() } }
62+
}
63+
}
64+
}
65+
5866
sourceSets {
5967
create("samples") {
6068
compileClasspath += main.get().output

buildSrc/src/main/kotlin/common-maven.gradle.kts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,19 @@ mavenPublishing {
1414
signAllPublications()
1515

1616
pom {
17+
name = project.name
18+
description = project.description
1719
url = "https://github.com/caplin/DataSource-Extensions"
1820
inceptionYear = "2025"
1921

22+
developers {
23+
developer {
24+
name = "Ross Anderson"
25+
organization = "Caplin Systems Ltd."
26+
url.set("https://github.com/rossdanderson")
27+
}
28+
}
29+
2030
issueManagement {
2131
url = "https://github.com/caplin/DataSource-Extensions/issues"
2232
system = "GitHub"

reactive/api/build.gradle.kts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ plugins {
22
`common-library`
33
}
44

5+
description = "Common public API for Reactive DataSource extensions"
6+
57
dependencies {
68
api(project(":datasourcex-util"))
79

reactive/core/build.gradle.kts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ plugins {
22
`common-library`
33
}
44

5+
description = "Common private implementation for Reactive DataSource extensions"
6+
57
dependencies {
68
api(project(":datasourcex-util"))
79
api(project(":reactive:datasourcex-reactive-api"))

reactive/java-flow/build.gradle.kts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ plugins {
22
`common-reactive-library`
33
}
44

5+
description = "Java Flow based Reactive DataSource extensions"
6+
57
dependencies {
68
api("org.jetbrains.kotlinx:kotlinx-coroutines-reactive")
79
api(project(":reactive:datasourcex-reactive-api"))

reactive/kotlin/build.gradle.kts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ plugins {
22
`common-reactive-library`
33
}
44

5+
description = "Kotlin based Reactive DataSource extensions"
6+
57
dependencies {
68
api(project(":reactive:datasourcex-reactive-api"))
79
api("org.jetbrains.kotlinx:kotlinx-coroutines-core")

reactive/reactivestreams/build.gradle.kts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ plugins {
22
`common-reactive-library`
33
}
44

5+
description = "Reactive Streams based Reactive DataSource extensions"
6+
57
dependencies {
68
api("org.jetbrains.kotlinx:kotlinx-coroutines-reactive")
79

spring/build.gradle.kts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ plugins {
44
id("org.jetbrains.kotlin.kapt")
55
}
66

7+
description = "Spring Boot integration for DataSource"
8+
79
dependencies {
810
api(project(":reactive:datasourcex-kotlin"))
911
api("org.springframework:spring-messaging")

util/build.gradle.kts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ plugins {
22
`common-library`
33
}
44

5+
description = "Utility classes for DataSource extensions"
6+
57
dependencies {
68
api(platform(libs.spring.boot.dependencies))
79
api(libs.datasource)

0 commit comments

Comments
 (0)