forked from ibenabdallah/the-movie-db
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
73 lines (57 loc) · 1.51 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
66
67
68
69
70
71
plugins {
alias(libs.plugins.kotlinMultiplatform)
alias(libs.plugins.androidLibrary)
}
kotlin {
androidTarget()
listOf(
iosX64(),
iosArm64(),
iosSimulatorArm64()
).forEach { iosTarget ->
iosTarget.binaries.framework {
baseName = "Domain"
isStatic = true
}
}
sourceSets {
androidMain.dependencies {
// koin DI
implementation(libs.koin.android)
}
commonMain.dependencies {
implementation(projects.data)
api(projects.model)
// Paging
implementation(libs.paging.compose)
// DI
implementation(libs.koin.core)
implementation(libs.koin.compose)
// Logger
implementation(libs.kermit.logger)
}
}
}
android {
namespace = "com.ibenabdallah.themoviedb"
compileSdk = libs.versions.android.compileSdk.get().toInt()
sourceSets["main"].manifest.srcFile("src/androidMain/AndroidManifest.xml")
sourceSets["main"].res.srcDirs("src/androidMain/res")
defaultConfig {
minSdk = libs.versions.android.minSdk.get().toInt()
}
packaging {
resources {
excludes += "/META-INF/{AL2.0,LGPL2.1}"
}
}
buildTypes {
getByName("release") {
isMinifyEnabled = false
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
}