Skip to content

Commit 92a231c

Browse files
committed
shadow
1 parent fad5b24 commit 92a231c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugins/amazonq/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ val downloadFlareArtifacts by tasks.registering(Download::class) {
9797
val latest = manifest.map { it.versions.first() }
9898
val latestVersion = latest.map { it.serverVersion }
9999
val licensesUrl = latest.map { it.thirdPartyLicenses }
100-
val darwin = latest.map { it.targets.first { it.platform == "darwin" && it.arch == "arm64" } }
100+
val darwin = latest.map { it.targets.first { target -> target.platform == "darwin" && target.arch == "arm64" } }
101101
val contentUrls = darwin.map { it.contents.map { content -> content.url } }
102102

103103
val destination = layout.buildDirectory.dir(latestVersion.map { "flare/$it" })
@@ -116,7 +116,7 @@ val prepareBundledFlare by tasks.registering(Copy::class) {
116116
val dest = layout.buildDirectory.dir("tmp/extractFlare")
117117
into(dest)
118118

119-
from(downloadFlareArtifacts.map { it.outputFiles.filterNot { it.name.endsWith(".zip") } })
119+
from(downloadFlareArtifacts.map { it.outputFiles.filterNot { file -> file.name.endsWith(".zip") } })
120120
doLast {
121121
copy {
122122
into(dest)

0 commit comments

Comments
 (0)