forked from ibenabdallah/the-movie-db
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
90 lines (72 loc) · 2.16 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
plugins {
alias(libs.plugins.androidApplication)
alias(libs.plugins.kotlinAndroid)
}
android {
namespace = "com.ibenabdallah.themoviedb"
compileSdk = libs.versions.android.compileSdk.get().toInt()
defaultConfig {
applicationId = "com.ibenabdallah.themoviedb"
minSdk = libs.versions.android.wear.minSdk.get().toInt()
targetSdk = libs.versions.android.targetSdk.get().toInt()
versionCode = 3
versionName = "0.3.0"
vectorDrawables {
useSupportLibrary = true
}
}
buildTypes {
release {
isMinifyEnabled = false
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
)
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
kotlinOptions {
jvmTarget = "17"
}
buildFeatures {
compose = true
}
composeOptions {
kotlinCompilerExtensionVersion = "1.5.8"
}
packaging {
resources {
excludes += "/META-INF/{AL2.0,LGPL2.1}"
}
}
}
dependencies {
implementation(projects.uiCompose)
implementation(projects.domain)
implementation(libs.play.services.wearable)
implementation(libs.androidx.activity.compose)
implementation(platform(libs.compose.bom))
implementation(libs.compose.ui)
implementation(libs.wear.compose.material3)
implementation(libs.wear.compose.foundation)
implementation(libs.wear.tooling.preview)
implementation(libs.core.splashscreen)
// DI
implementation(libs.koin.core)
implementation(libs.koin.compose)
implementation(libs.koin.android)
// Paging
implementation(libs.paging.compose)
// MVVM
implementation(libs.viewmodel.compose)
// Coil3
implementation(libs.coil.compose)
implementation(libs.coil.network.ktor)
androidTestImplementation(platform(libs.compose.bom))
androidTestImplementation(libs.ui.test.junit4)
debugImplementation(libs.compose.ui.tooling)
debugImplementation(libs.ui.test.manifest)
}