Skip to content

Commit ca5c5a9

Browse files
ilgonmicdkrasnoff
authored andcommitted
Adopt #5
1 parent a84cd62 commit ca5c5a9

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
@@ -156,6 +156,11 @@ tasks.withType<BootJar> {
156156
requiresUnpack("**/kotlinx-*.jar")
157157
}
158158

159+
val prepareComposeWasmResources by tasks.registering(Sync::class) {
160+
from(composeWasmStaticResources)
161+
into(layout.buildDirectory.dir("compose-wasm-resources"))
162+
}
163+
159164
val buildLambda by tasks.creating(Zip::class) {
160165
val propertyFile = propertyFile
161166

@@ -183,11 +188,6 @@ val buildLambda by tasks.creating(Zip::class) {
183188
dependsOn(prepareComposeWasmResources)
184189
}
185190

186-
val prepareComposeWasmResources by tasks.registering(Sync::class) {
187-
from(composeWasmStaticResources)
188-
into(layout.buildDirectory.dir("compose-wasm-resources"))
189-
}
190-
191191
tasks.named<Copy>("processResources") {
192192
dependsOn(propertiesGenerator)
193193
}

0 commit comments

Comments
 (0)