Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.

Commit

Permalink
PRJ-808 Allow building on Arm Mac
Browse files Browse the repository at this point in the history
  • Loading branch information
ARTI1208 committed Mar 23, 2022
1 parent 268cf3f commit a799896
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
*/
import org.jetbrains.kotlin.gradle.dsl.KotlinCompile
import org.jetbrains.kotlin.gradle.dsl.KotlinJvmCompile
import org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootExtension
import org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootPlugin

plugins {
kotlin("multiplatform") apply false
Expand Down Expand Up @@ -61,6 +63,10 @@ subprojects {
}
}

plugins.withType(NodeJsRootPlugin::class.java) {
the<NodeJsRootExtension>().nodeVersion = "16.14.2"
}

if (System.getenv("CHROME_BIN") == null) {
gradle.taskGraph.beforeTask {
if (name in setOf("jsTest", "jsBrowserTest", "browserTest")) {
Expand Down

0 comments on commit a799896

Please sign in to comment.