File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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)
You can’t perform that action at this time.
0 commit comments