Skip to content

Commit

Permalink
Conditionally disable :example-frontend-js for snapshot train
Browse files Browse the repository at this point in the history
It doesn't work properly with new JS IR BE because it depends on a really old plugin version
  • Loading branch information
qwwdfsad committed Mar 10, 2020
1 parent 1eae238 commit aff8202
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
6 changes: 5 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,10 @@ allprojects {
apply plugin: "binary-compatibility-validator"
apiValidation {
ignoredProjects += unpublished + ["kotlinx-coroutines-bom"]
if (build_snapshot_train) {
ignoredProjects.remove("site")
ignoredProjects.remove("example-frontend-js")
}
ignoredPackages += "kotlinx.coroutines.internal"
}

Expand Down Expand Up @@ -305,4 +309,4 @@ knit {
moduleRoots = [".", "integration", "reactive", "ui"]
}

knitPrepare.dependsOn getTasksByName("dokka", true)
knitPrepare.dependsOn getTasksByName("dokka", true)
9 changes: 6 additions & 3 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ def module(String path) {
include(name)
project(":$name").projectDir = file(path)
}

def prop = System.getProperty("build_snapshot_train")
ext.build_snapshot_train = prop != null && prop != ""
// ---------------------------

include('benchmarks')
include('site')

include "kotlinx-coroutines-core"

Expand All @@ -39,6 +39,9 @@ module('ui/kotlinx-coroutines-javafx')
module('ui/kotlinx-coroutines-swing')

module('js/js-stub')
module('js/example-frontend-js')
if (!build_snapshot_train) {
module('js/example-frontend-js')
include('site')
}

module('publication-validator')

0 comments on commit aff8202

Please sign in to comment.