-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
65 lines (55 loc) · 1.29 KB
/
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
@file:Suppress(
"DSL_SCOPE_VIOLATION", // Remove when KTIJ-19369 is fixed. https://youtrack.jetbrains.com/issue/KTIJ-19369
)
plugins {
alias(libs.plugins.android.library)
alias(libs.plugins.kotlin.multiplatform)
}
group = "com.mindera.lodge"
version = "1.0.0"
kotlin {
jvmToolchain(8)
androidTarget()
jvm()
iosX64()
iosArm64()
iosSimulatorArm64()
sourceSets {
commonMain {
dependencies {
implementation(libs.kotlinx.coroutines.core)
}
}
val commonJvm by creating {
dependsOn(commonMain.get())
}
androidMain {
dependsOn(commonJvm)
}
jvmMain {
dependsOn(commonJvm)
}
create("appleMain") {
dependsOn(commonMain.get())
getByName("iosX64Main").dependsOn(this)
getByName("iosArm64Main").dependsOn(this)
getByName("iosSimulatorArm64Main").dependsOn(this)
}
commonTest {
dependencies {
implementation(kotlin("test"))
}
}
}
}
android {
namespace = "com.mindera.lodge"
compileSdk = 33
defaultConfig {
minSdk = 21
targetSdk = 33
}
buildFeatures {
buildConfig = false
}
}