Skip to content

Commit

Permalink
build: run validatePomFiles as part of qualityCheck/Gate (#14)
Browse files Browse the repository at this point in the history
See: hashgraph/hedera-services#16679

Signed-off-by: Jendrik Johannes <[email protected]>
  • Loading branch information
jjohannes authored Nov 20, 2024
1 parent 4c83f03 commit 42901b2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ dependencies {
implementation(
"gradle.plugin.com.google.cloud.artifactregistry:artifactregistry-gradle-plugin:2.2.2"
)
implementation("io.freefair.gradle:maven-plugin:8.11") // for POM validation
implementation("io.github.gradle-nexus:publish-plugin:1.3.0")
implementation("me.champeau.jmh:jmh-gradle-plugin:0.7.2")
implementation("net.swiftzer.semver:semver:2.0.0")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ plugins {
id("java")
id("maven-publish")
id("signing")
id("io.freefair.maven-central.validate-poms")
}

java {
Expand Down Expand Up @@ -116,3 +117,7 @@ publishing.publications.withType<MavenPublication>().configureEach {
}
}
}

tasks.named("qualityCheck") { dependsOn(tasks.validatePomFiles) }

tasks.named("qualityGate") { dependsOn(tasks.validatePomFiles) }

0 comments on commit 42901b2

Please sign in to comment.