forked from icerockdev/moko-kswift
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
32 lines (28 loc) · 992 Bytes
/
build.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*
* Copyright 2020 IceRock MAG Inc. Use of this source code is governed by the Apache 2.0 license.
*/
buildscript {
repositories {
mavenCentral()
google()
gradlePluginPortal()
}
dependencies {
classpath(libs.mobileMultiplatformGradlePlugin)
classpath(libs.kotlinGradlePlugin)
classpath(libs.mokoGradlePlugin)
classpath(libs.androidGradlePlugin)
classpath(libs.detektGradlePlugin)
classpath("dev.icerock.moko:kswift-gradle-plugin")
}
}
apply(plugin = "dev.icerock.moko.gradle.publication.nexus")
val mokoVersion = libs.versions.mokoKSwiftVersion.get()
allprojects {
group = "dev.icerock.moko"
version = mokoVersion
}
// temporary fix for Apple Silicon (remove after 1.6.20 update)
rootProject.plugins.withType<org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootPlugin> {
rootProject.the<org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootExtension>().nodeVersion = "16.0.0"
}