Browse Source

[web] [build] stricter guards for printTestBundleSize

pull/1083/head
Shagen Ogandzhanian 3 years ago
parent
commit
fdc9c5df5e
  1. 3
      web/build.gradle.kts

3
web/build.gradle.kts

@ -35,6 +35,7 @@ subprojects {
}
}
pluginManager.withPlugin("kotlin-multiplatform") {
val printTestBundleSize by tasks.registering {
doLast {
val bundlePath = buildDir.resolve(
@ -50,6 +51,8 @@ subprojects {
afterEvaluate {
tasks.named("jsTest") { finalizedBy(printTestBundleSize) }
}
}
if (isSampleProject()) {
val printBundleSize by tasks.registering {

Loading…
Cancel
Save