diff --git a/.gitignore b/.gitignore
index 0aa06ef89..36975262d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,6 @@
build
.gradle
+.gradletasknamecache
.idea/*
!.idea/runConfigurations
!.idea/runConfigurations/*
diff --git a/build.gradle b/build.gradle
index 72e909f65..1aa1438ac 100644
--- a/build.gradle
+++ b/build.gradle
@@ -42,7 +42,10 @@ def projectNeedsPlatform(project, platform) {
def hasDarwin = files.any { it.name == "darwin" }
if (hasPosix && hasDarwin) return false
- if (!hasDarwin && platform == "darwin") return false
+
+ if (hasPosix && platform == "darwin") return false
+ if (hasDarwin && platform == "posix") return false
+ if (!hasPosix && !hasDarwin && platform == "darwin") return false
return files.any { it.name == "common" || it.name == platform }
}
diff --git a/gradle.properties b/gradle.properties
index 399ea1ec9..8385e6e16 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -3,7 +3,7 @@ kotlin.code.style=official
# config
version=1.2.0-SNAPSHOT
-kotlin.incremental.js=true
+kotlin.incremental.js=false
kotlin.incremental.multiplatform=true
# gradle
diff --git a/gradle/js.gradle b/gradle/js.gradle
index 4f2c9ba5d..2e2253227 100644
--- a/gradle/js.gradle
+++ b/gradle/js.gradle
@@ -90,6 +90,9 @@ prepareMocha.doLast {
+
+
+