Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 0 additions & 16 deletions distribution/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -629,22 +629,6 @@ subprojects {
}
}

['archives:windows-zip',
'archives:darwin-tar',
'archives:darwin-aarch64-tar',
'archives:linux-aarch64-tar',
'archives:linux-tar',
'archives:integ-test-zip',
'packages:rpm', 'packages:deb',
'packages:aarch64-rpm', 'packages:aarch64-deb',
].forEach { subName ->
Project subproject = project("${project.path}:${subName}")
Configuration configuration = configurations.create(subproject.name)
dependencies {
"${configuration.name}" project(path: subproject.path, configuration:'default')
}
}

// This artifact makes it possible for other projects to pull
// in the final log4j2.properties configuration, as it appears in the
// archive distribution.
Expand Down
6 changes: 3 additions & 3 deletions x-pack/plugin/ml/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,9 @@ def mlCppVersion(){
(project.version + "-SNAPSHOT") : project.version;
}

artifacts {
// normal es plugins do not publish the jar but we need to since users need it for extensions
archives tasks.named("jar")

tasks.named('assemble').configure {
dependsOn tasks.named('jar')
}

tasks.register("extractNativeLicenses", Copy) {
Expand Down
5 changes: 3 additions & 2 deletions x-pack/plugin/security/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -167,9 +167,10 @@ tasks.named("processTestResources").configure {
from(project(xpackModule('core')).file('src/test/resources'))
}

artifacts {

tasks.named('assemble').configure {
// normal es plugins do not publish the jar but we need to since users need it for extensions
archives tasks.named("jar")
dependsOn tasks.named('jar')
}

tasks.named("dependencyLicenses").configure {
Expand Down
4 changes: 2 additions & 2 deletions x-pack/rest-resources-zip/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,6 @@ def restResourcesZip = tasks.register('restResourcesZip', Zip) {
}
}

artifacts {
archives restResourcesZip
tasks.named('assemble').configure {
dependsOn restResourcesZip
}