Skip to content

Commit 8e79d8b

Browse files
committed
Adopt #5
1 parent 3d45530 commit 8e79d8b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

build.gradle.kts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,11 @@ tasks.withType<BootJar> {
182182
requiresUnpack("**/kotlinx-*.jar")
183183
}
184184

185+
val prepareComposeWasmResources by tasks.registering(Sync::class) {
186+
from(composeWasmStaticResources)
187+
into(layout.buildDirectory.dir("compose-wasm-resources"))
188+
}
189+
185190
val buildLambda by tasks.creating(Zip::class) {
186191
val propertyFile = propertyFile
187192

@@ -209,11 +214,6 @@ val buildLambda by tasks.creating(Zip::class) {
209214
dependsOn(prepareComposeWasmResources)
210215
}
211216

212-
val prepareComposeWasmResources by tasks.registering(Sync::class) {
213-
from(composeWasmStaticResources)
214-
into(layout.buildDirectory.dir("compose-wasm-resources"))
215-
}
216-
217217
tasks.named<Copy>("processResources") {
218218
dependsOn(propertiesGenerator)
219219
}

0 commit comments

Comments
 (0)