Support Gradle 7. More reliable tasks dependencies for Maven plugins publishing (#1630)
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
This commit is contained in:
parent
231c29f418
commit
30c31f9400
|
@ -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")
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue