Skip to content

Commit 5c6d570

Browse files
committed
Remove deprecated archives configuration references
1 parent 1689cb0 commit 5c6d570

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

x-pack/plugin/ml/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,10 +111,10 @@ def mlCppVersion(){
111111
(project.version + "-SNAPSHOT") : project.version;
112112
}
113113

114-
//artifacts {
115-
// // normal es plugins do not publish the jar but we need to since users need it for extensions
116-
// archives tasks.named("jar")
117-
//}
114+
115+
tasks.named('assemble').configure {
116+
dependsOn tasks.named('jar')
117+
}
118118

119119
tasks.register("extractNativeLicenses", Copy) {
120120
dependsOn configurations.nativeBundle

x-pack/plugin/security/build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -173,11 +173,11 @@ tasks.named("processTestResources").configure {
173173
from(project(xpackModule('core')).file('src/main/config'))
174174
from(project(xpackModule('core')).file('src/test/resources'))
175175
}
176-
//
177-
//artifacts {
178-
// // normal es plugins do not publish the jar but we need to since users need it for extensions
179-
// archives tasks.named("jar")
180-
//}
176+
177+
178+
tasks.named('assemble') {
179+
dependsOn tasks.named('jar')
180+
}
181181

182182
tasks.named("dependencyLicenses").configure {
183183
mapping from: /java-support|opensaml-.*/, to: 'shibboleth'

x-pack/rest-resources-zip/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,6 @@ def restResourcesZip = tasks.register('restResourcesZip', Zip) {
5959
}
6060
}
6161

62-
//artifacts {
63-
// archives restResourcesZip
64-
//}
62+
tasks.named('assemble').configure {
63+
dependsOn restResourcesZip
64+
}

0 commit comments

Comments
 (0)