Skip to content

Commit d71b102

Browse files
authored
[build] update all generated pom.xml with sonatype information (#736)
1 parent aa0090f commit d71b102

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

build.gradle.kts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ subprojects {
124124
}
125125
publishing {
126126
publications {
127-
create<MavenPublication>("mavenJava") {
127+
withType<MavenPublication> {
128128
pom {
129129
name.set("${currentProject.group}:${currentProject.name}")
130130
url.set("https://github.com/ExpediaGroup/graphql-kotlin")
@@ -158,7 +158,8 @@ subprojects {
158158
mavenPom.description.set(currentProject.description)
159159
}
160160
}
161-
161+
}
162+
create<MavenPublication>("mavenJava") {
162163
from(jarComponent)
163164
// no need to publish sources or javadocs for SNAPSHOT builds
164165
if (rootProject.extra["isReleaseVersion"] as Boolean) {

0 commit comments

Comments
 (0)