Skip to content

Commit fad5b24

Browse files
committed
flare version
1 parent 64b2367 commit fad5b24

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

plugins/amazonq/build.gradle.kts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,16 +114,15 @@ val prepareBundledFlare by tasks.registering(Copy::class) {
114114
inputs.files(downloadFlareArtifacts)
115115

116116
val dest = layout.buildDirectory.dir("tmp/extractFlare")
117-
outputs.dir(dest)
118117
into(dest)
119118

120-
121119
from(downloadFlareArtifacts.map { it.outputFiles.filterNot { it.name.endsWith(".zip") } })
122120
doLast {
123121
copy {
124122
into(dest)
125123
includeEmptyDirs = false
126124
downloadFlareArtifacts.get().outputFiles.filter { it.name.endsWith(".zip") }.forEach {
125+
dest.get().file(it.parentFile.name).asFile.createNewFile()
127126
from(zipTree(it)) {
128127
include("*.js")
129128
include("*.txt")

0 commit comments

Comments
 (0)