Skip to content

Commit 13364ce

Browse files
committed
add to yml file
Signed-off-by: Bhavana Goud Ramaram <rbhavna@amazon.com>
1 parent 0b1f3af commit 13364ce

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

plugin/build.gradle

+1-6
Original file line numberDiff line numberDiff line change
@@ -560,12 +560,7 @@ List<Provider<RegularFile>> plugins = [
560560
return new RegularFile() {
561561
@Override
562562
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()
563+
return configurations.zipArchive.asFileTree.getSingleFile()
569564
}
570565
}
571566
}

0 commit comments

Comments
 (0)