File tree 1 file changed +23
-1
lines changed
1 file changed +23
-1
lines changed Original file line number Diff line number Diff line change @@ -494,7 +494,29 @@ List<Provider<RegularFile>> plugins = [
494
494
return new RegularFile () {
495
495
@Override
496
496
File getAsFile () {
497
- return configurations. zipArchive. asFileTree. getFiles()
497
+ return configurations. zipArchive. asFileTree. matching{include " **/opensearch-ml-plugin-${ opensearch_build} .zip" }. getSingleFile()
498
+ }
499
+ }
500
+ }
501
+ }),
502
+ provider(new Callable<RegularFile > (){
503
+ @Override
504
+ RegularFile call () throws Exception {
505
+ return new RegularFile () {
506
+ @Override
507
+ File getAsFile () {
508
+ return configurations. zipArchive. asFileTree. matching{include " **/opensearch-knn-${ opensearch_build} .zip" }. getSingleFile()
509
+ }
510
+ }
511
+ }
512
+ }),
513
+ provider(new Callable<RegularFile > (){
514
+ @Override
515
+ RegularFile call () throws Exception {
516
+ return new RegularFile () {
517
+ @Override
518
+ File getAsFile () {
519
+ return configurations. zipArchive. asFileTree. matching{include " **/neural-search-${ opensearch_build} .zip" }. getSingleFile()
498
520
}
499
521
}
500
522
}
You can’t perform that action at this time.
0 commit comments