Skip to content

Commit

Permalink
Fixed sonatype release checks: Missing developer sections in pom.
Browse files Browse the repository at this point in the history
  • Loading branch information
renelink committed Aug 18, 2024
1 parent 25ecb2c commit b9e4eaa
Show file tree
Hide file tree
Showing 5 changed files with 52 additions and 48 deletions.
2 changes: 1 addition & 1 deletion build-logic/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ plugins {
}

dependencies {
implementation("com.link-intersystems.gradle.plugins:lis-gradle-maven-central:0.0.4")
implementation("com.link-intersystems.gradle.plugins:lis-gradle-maven-central:0.0.5")
}
48 changes: 2 additions & 46 deletions build-logic/src/main/kotlin/lis-gradle-commons-library.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,54 +1,10 @@
plugins {
`java-library`
`maven-publish`
`ivy-publish`
id("lis-gradle-commons-maven-central-artifact")
id("com.link-intersystems.gradle.maven-central-library")
}

java {
toolchain {
languageVersion = JavaLanguageVersion.of(11)
}
}


afterEvaluate {
publishing {
publications.withType<MavenPublication> {
pom {
url.set("https://github.com/link-intersystems/lis-gradle-commons")
licenses {
license {
name.set("Apache License, Version 2.0")
url.set("http://www.apache.org/licenses/LICENSE-2.0.txt")
}
}
developers {
developer {
id.set("rene.link")
name.set("René Link")
email.set("rene.link@link-intersystems.com")
organization.set("Link Intersystems GmbH")
organizationUrl.set("https://www.link-intersystems.com")
url.set("https://stackoverflow.com/users/974186/ren%C3%A9-link")
roles.set(listOf("developer"))
}
}
scm {
url.set("https://github.com/link-intersystems/lis-gradle-commons")
connection.set("scm:git:https://github.com/link-intersystems/lis-gradle-commons.git")
developerConnection.set("scm:git:https://github.com/link-intersystems/lis-gradle-commons.git")
}
}
}
}
}









}
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
plugins {
id("com.link-intersystems.gradle.maven-central-artifact")
}

afterEvaluate {
publishing {
publications.withType<MavenPublication> {
pom {
url.set("https://github.com/link-intersystems/lis-gradle-commons")
licenses {
license {
name.set("Apache License, Version 2.0")
url.set("http://www.apache.org/licenses/LICENSE-2.0.txt")
}
}
developers {
developer {
id.set("rene.link")
name.set("René Link")
email.set("rene.link@link-intersystems.com")
organization.set("Link Intersystems GmbH")
organizationUrl.set("https://www.link-intersystems.com")
url.set("https://stackoverflow.com/users/974186/ren%C3%A9-link")
roles.set(listOf("developer"))
}
}
scm {
url.set("https://github.com/link-intersystems/lis-gradle-commons")
connection.set("scm:git:https://github.com/link-intersystems/lis-gradle-commons.git")
developerConnection.set("scm:git:https://github.com/link-intersystems/lis-gradle-commons.git")
}
}
}
}
}









Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
plugins {
id("lis-gradle-commons-maven-central-artifact")
id("com.link-intersystems.gradle.maven-central-platform")
}
2 changes: 1 addition & 1 deletion modules/lis-gradle-platform/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id("com.link-intersystems.gradle.maven-central-platform")
id("lis-gradle-commons-platform")
}

dependencies {
Expand Down

0 comments on commit b9e4eaa

Please sign in to comment.