Skip to content

Commit

Permalink
Add task dependency on unpacking wasm. (#2589)
Browse files Browse the repository at this point in the history
The `jsProcessResources` task needs to depend on the
`unpackSkikoWasmRuntimeJs` task since it explicitly consumes one of its
outputs. Otherwise, a Gradle warning occurs during compilation that task
execution optimizations have been disabled.
  • Loading branch information
christiandeange authored Jan 2, 2023
1 parent d6ff80c commit d79b793
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -22,4 +22,7 @@ internal fun KotlinJsIrTarget.configureExperimentalWebApplication(app: Experimen
mainCompilation.compileKotlinTaskProvider.configure { compileTask ->
compileTask.dependsOn(unpackRuntime)
}
project.tasks.named(mainCompilation.processResourcesTaskName).configure { processResourcesTask ->
processResourcesTask.dependsOn(unpackRuntime)
}
}

0 comments on commit d79b793

Please sign in to comment.