Skip to content

Commit

Permalink
Support Gradle 7. More reliable tasks dependencies for Maven plugins …
Browse files Browse the repository at this point in the history
…publishing (#1630)

Signed-off-by: Andriy Redko <[email protected]>
  • Loading branch information
reta authored Nov 30, 2021
1 parent 231c29f commit 30c31f9
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions buildSrc/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -260,10 +260,7 @@ if (project != rootProject) {
*/
afterEvaluate {
generatePomFileForPluginMavenPublication.enabled = false
tasks.named("validatePluginMavenPom").configure {
dependsOn("generatePomFileForNebulaPublication")
}
tasks.named("publishPluginMavenPublicationToMavenLocal").configure {
tasks.matching { it.name.contains("PluginMaven") }*.configure {
dependsOn("generatePomFileForNebulaPublication")
}
}
Expand Down

0 comments on commit 30c31f9

Please sign in to comment.