-
Notifications
You must be signed in to change notification settings - Fork 4
/
build.gradle
118 lines (98 loc) · 3.54 KB
/
build.gradle
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
plugins {
id 'com.android.application'
id 'org.jetbrains.kotlin.android'
id 'kotlin-kapt'
id 'com.google.dagger.hilt.android'
id 'com.google.devtools.ksp'
}
android {
namespace "com.feduss.telegramwear"
compileSdk 34
defaultConfig {
applicationId "com.feduss.telegramwear"
minSdk 30
targetSdk 33
versionCode 1
versionName "0.1a"
vectorDrawables {
useSupportLibrary true
}
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.debug
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
buildFeatures {
compose true
}
composeOptions {
kotlinCompilerExtensionVersion '1.5.7'
}
packagingOptions {
resources {
excludes += '/META-INF/{AL2.0,LGPL2.1}'
}
}
}
dependencies {
//Modules
implementation project(path: ':entity')
implementation project(path: ':business')
implementation project(path: ':data')
implementation project(path: ':utils')
//Kotlin core
implementation 'androidx.core:core-ktx:1.12.0'
//Androidx for legacy support
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
//Compose wear
implementation 'androidx.wear.compose:compose-ui-tooling:1.2.1'
implementation 'androidx.wear.compose:compose-foundation:1.2.1'
implementation 'androidx.wear.compose:compose-material:1.2.1'
implementation 'androidx.wear.compose:compose-navigation:1.2.1'
implementation "androidx.constraintlayout:constraintlayout-compose:1.0.1"
//Google play services for wearable + location
implementation 'com.google.android.gms:play-services-wearable:18.1.0'
implementation 'com.google.android.gms:play-services-location:21.0.1'
implementation 'androidx.wear:wear-remote-interactions:1.0.0'
implementation 'androidx.wear:wear:1.3.0'
// Testing
androidTestImplementation 'androidx.compose.ui:ui-test-junit4:1.5.4'
debugImplementation 'androidx.compose.ui:ui-tooling:1.5.4'
debugImplementation 'androidx.compose.ui:ui-test-manifest:1.5.4'
// Optional - Integration with ViewModels
implementation 'androidx.lifecycle:lifecycle-viewmodel-compose:2.6.2'
//Room
implementation('androidx.room:room-runtime:2.6.1')
annotationProcessor('androidx.room:room-compiler:2.6.1')
ksp 'androidx.room:room-compiler:2.6.1'
//Google pager + scaffold
implementation 'com.google.android.horologist:horologist-compose-layout:0.5.17'
//Gson
implementation 'com.google.code.gson:gson:2.10.1'
//Skeleton view
implementation 'com.valentinilk.shimmer:compose-shimmer:1.2.0'
//APIs for SplashScreen, including compatibility helpers on devices prior Android 12
implementation 'androidx.core:core-splashscreen:1.0.1'
//Hilt
implementation 'com.google.dagger:hilt-android:2.50'
kapt 'com.google.dagger:hilt-android-compiler:2.50'
implementation 'androidx.hilt:hilt-work:1.1.0'
kapt 'androidx.hilt:hilt-compiler:1.1.0'
implementation 'androidx.work:work-runtime-ktx:2.9.0'
implementation 'androidx.hilt:hilt-navigation-compose:1.1.0'
//
implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.6.2'
//Qr code
implementation 'com.google.zxing:core:3.5.2'
}
// Allow references to generated code
kapt {
correctErrorTypes true
}