Skip to content

Commit 8fca5d3

Browse files
committed
Fixed "kotlinSnapshot" build mode
1 parent 38b6fd3 commit 8fca5d3

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ allprojects {
55
}
66

77
buildscript {
8-
if (System.properties['kotlinSnapshot'] != null) {
8+
if (rootProject.properties['kotlinSnapshot'] != null) {
99
ext.kotlin_version = '1.2-SNAPSHOT'
1010
repositories {
1111
maven { url "https://oss.sonatype.org/content/repositories/snapshots" }

js/example-frontend-js/build.gradle

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,7 @@ task start(type: NpmTask, dependsOn: bundle) {
4444
// we have not tests but kotlin-dce-js still tries to work with them and crashed.
4545
// todo: Remove when KT-22028 is fixed
4646
afterEvaluate {
47-
tasks.unpackDependenciesTestKotlinJs.enabled = false
47+
if (tasks.findByName('unpackDependenciesTestKotlinJs')) {
48+
tasks.unpackDependenciesTestKotlinJs.enabled = false
49+
}
4850
}

0 commit comments

Comments
 (0)