mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-16 18:04:52 +00:00
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…
x
Reference in New Issue
Block a user