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. 6
      compose/build.gradle.kts

6
compose/build.gradle.kts

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

Loading…
Cancel
Save