Browse Source

remove a condition (based on .jbWebExistsMarker file) for js tests tasks (#1848)

Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
pull/1851/head
Oleksandr Karpovich 3 years ago committed by GitHub
parent
commit
4fb11bc52f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      compose/build.gradle.kts

4
compose/build.gradle.kts

@ -16,8 +16,6 @@ open class ComposePublishingTask : AbstractComposePublishingTask() {
}
val composeProperties = ComposeProperties(project)
val isWebExist =
project.composeBuild?.run { projectDir.resolve(".jbWebExistsMarker").exists() } ?: false
val mainComponents =
listOf(
@ -118,12 +116,10 @@ tasks.register("testComposeJbDesktop") {
dependsOnComposeTask(":compose:runtime:runtime-saveable:desktopTest")
}
if (isWebExist) {
tasks.register("testComposeJbWeb") {
dependsOnComposeTask(":compose:runtime:runtime:jsTest")
dependsOnComposeTask(":compose:runtime:runtime:test")
}
}
tasks.register("buildNativeDemo") {
dependsOnComposeTask(":compose:native:demo:assemble")

Loading…
Cancel
Save