We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b1f3af commit 13364ceCopy full SHA for 13364ce
plugin/build.gradle
@@ -560,12 +560,7 @@ List<Provider<RegularFile>> plugins = [
560
return new RegularFile() {
561
@Override
562
File getAsFile() {
563
- project.mkdir "$bwcJobSchedulerFilePath/$project.version"
564
- copy {
565
- from "$buildDir/distributions/$opensearchJobSchedulerPlugin"
566
- into "$bwcJobSchedulerFilePath/$project.version"
567
- }
568
- return fileTree(bwcJobSchedulerFilePath + project.version).getSingleFile()
+ return configurations.zipArchive.asFileTree.getSingleFile()
569
}
570
571
0 commit comments