Browse Source

[web] [build] printTestBundleSize depends on jsTest

pull/1098/head
Shagen Ogandzhanian 3 years ago
parent
commit
4d727f7d5d
  1. 1
      web/build.gradle.kts

1
web/build.gradle.kts

@ -37,6 +37,7 @@ subprojects {
pluginManager.withPlugin("kotlin-multiplatform") { pluginManager.withPlugin("kotlin-multiplatform") {
val printTestBundleSize by tasks.registering { val printTestBundleSize by tasks.registering {
dependsOn(tasks.named("jsTest"))
doLast { doLast {
val bundlePath = buildDir.resolve( val bundlePath = buildDir.resolve(
"compileSync/test/testDevelopmentExecutable/kotlin/${rootProject.name}-${project.name}-test.js" "compileSync/test/testDevelopmentExecutable/kotlin/${rootProject.name}-${project.name}-test.js"

Loading…
Cancel
Save