forked from icerockdev/moko-resources
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
59 lines (53 loc) · 1.24 KB
/
Copy pathbuild.gradle.kts
File metadata and controls
59 lines (53 loc) · 1.24 KB
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
import org.jetbrains.kotlin.gradle.ExperimentalWasmDsl
/*
* Copyright 2021 IceRock MAG Inc. Use of this source code is governed by the Apache 2.0 license.
*/
plugins {
id("com.android.library")
id("org.jetbrains.kotlin.multiplatform")
id("android-base-convention")
id("dev.icerock.mobile.multiplatform.android-manifest")
id("multiplatform-android-publish-convention")
id("apple-main-convention")
id("detekt-convention")
id("org.jetbrains.compose")
id("javadoc-stub-convention")
id("publication-convention")
id("org.jetbrains.kotlin.plugin.compose")
}
android {
defaultConfig {
minSdk = 21
}
namespace = "dev.icerock.moko.resources.compose"
}
kotlin {
jvm()
androidTarget()
iosX64()
iosArm64()
iosSimulatorArm64()
macosX64()
macosArm64()
js(IR) {
browser()
}
@OptIn(ExperimentalWasmDsl::class)
wasmJs {
browser()
}
sourceSets {
commonMain {
dependencies {
api(projects.resources)
api(compose.runtime)
api(compose.foundation)
}
}
androidMain {
dependencies {
api(libs.composeUi)
}
}
}
}