-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle
More file actions
220 lines (179 loc) · 8.07 KB
/
build.gradle
File metadata and controls
220 lines (179 loc) · 8.07 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
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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
plugins {
id 'com.android.application'
id 'org.jetbrains.kotlin.android'
id 'kotlin-parcelize'
id 'org.jetbrains.kotlin.plugin.serialization' version '1.8.10'
id 'dagger.hilt.android.plugin'
// plugin for data binding, hilt
id 'kotlin-kapt'
// plugin for hiding keys used in manifest
id 'com.google.android.libraries.mapsplatform.secrets-gradle-plugin'
// Add the Google services Gradle plugin
id 'com.google.gms.google-services'
// Add the Firebase Crashlytics Gradle plugin
id 'com.google.firebase.crashlytics'
}
Properties properties = new Properties()
properties.load(project.rootProject.file('local.properties').newDataInputStream())
android {
namespace 'com.runnect.runnect'
compileSdk 35
defaultConfig {
applicationId "com.runnect.runnect"
minSdk 28
targetSdk 35
versionCode 25
versionName "2.1.1"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
buildConfigField "String", "RUNNECT_DEV_URL", properties["RUNNECT_DEV_URL"]
buildConfigField "String", "RUNNECT_NODE_URL", properties["RUNNECT_NODE_URL"]
buildConfigField "String", "RUNNECT_PROD_URL", properties["RUNNECT_PROD_URL"]
buildConfigField "String", "TMAP_BASE_URL", properties["TMAP_BASE_URL"]
buildConfigField "String", "TMAP_API_KEY", properties["TMAP_API_KEY"]
buildConfigField "String", "NAVER_CLIENT_ID", properties["NAVER_CLIENT_ID"]
buildConfigField "String", "GOOGLE_CLIENT_ID", properties["GOOGLE_CLIENT_ID"]
buildConfigField "String", "REMOTE_KEY_APP_VERSION", properties["REMOTE_KEY_APP_VERSION"]
buildConfigField "String", "KAKAO_CHANNEL_ID", properties["KAKAO_CHANNEL_ID"]
}
signingConfigs {
release {
// local.properties에서 키 정보 불러오기
def localProperties = new Properties()
def localPropertiesFile = rootProject.file('local.properties')
if (localPropertiesFile.exists()) {
localProperties.load(new FileInputStream(localPropertiesFile))
}
keyAlias localProperties['KEY_ALIAS']
keyPassword localProperties['KEY_PASSWORD']
storeFile file('RunnectKeystore.jks')
storePassword localProperties['KEYSTORE_PASSWORD']
}
}
buildFeatures {
buildConfig = true
compose true
}
composeOptions {
kotlinCompilerExtensionVersion '1.4.3'
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.release
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
kotlinOptions {
jvmTarget = '17'
}
buildFeatures {
dataBinding true
viewBinding true
}
}
dependencies {
implementation 'androidx.core:core-ktx:1.9.0'
implementation 'androidx.appcompat:appcompat:1.5.1'
implementation 'com.google.android.material:material:1.8.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
implementation 'androidx.core:core:1.9.0'
implementation 'com.google.firebase:firebase-common-ktx:20.1.0'
implementation 'androidx.preference:preference-ktx:1.2.1'
implementation 'com.google.firebase:firebase-dynamic-links-ktx:21.2.0'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
def lifecycle_version = "2.5.1"
//ViewModel
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycle_version"
//LiveData
implementation "androidx.lifecycle:lifecycle-livedata-ktx:$lifecycle_version"
//DataBinding
implementation "androidx.activity:activity-ktx:1.6.1"
//Timber
implementation 'com.jakewharton.timber:timber:5.0.1'
//Coroutine
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.4")
//retrofit
implementation 'com.squareup.retrofit2:retrofit:2.9.0'
implementation 'org.jetbrains.kotlinx:kotlinx-serialization-json:1.4.1'
implementation 'com.jakewharton.retrofit:retrofit2-kotlinx-serialization-converter:0.8.0'
//define a BOM and its version
implementation(platform("com.squareup.okhttp3:okhttp-bom:4.10.0"))
//define any required OkHttp artifacts without version
implementation("com.squareup.okhttp3:okhttp")
implementation("com.squareup.okhttp3:logging-interceptor")
//hilt
implementation "com.google.dagger:hilt-android:$hilt_version"
kapt "com.google.dagger:hilt-android-compiler:$hilt_version"
// Glide
implementation "com.github.bumptech.glide:glide:4.12.0"
kapt "com.github.bumptech.glide:compiler:4.12.0"
//fragment change
implementation("androidx.fragment:fragment-ktx:1.5.5")
//coil
implementation("io.coil-kt:coil:2.2.2")
//naver map
implementation 'com.naver.maps:map-sdk:3.22.1'
// implementation 'com.google.android.gms:play-services-location:21.0.1'
// Ted Permission - RxJava3
// Normal
implementation 'io.github.ParkSangGwon:tedpermission-normal:3.3.0'
//Location 라이브러리(현재위치)
implementation 'com.google.android.gms:play-services-location:21.3.0'
implementation "com.squareup.retrofit2:converter-gson:2.9.0"
implementation 'com.google.code.gson:gson:2.10.1'
implementation 'com.ssomai:android.scalablelayout:2.1.6'
//google social login
implementation 'com.google.android.gms:play-services-auth:20.4.1'
//recycler view selection
implementation 'androidx.recyclerview:recyclerview:1.3.0'
// EncryptedSharedPreferences
implementation "androidx.security:security-crypto-ktx:1.1.0-alpha03"
// kakao social login
implementation 'com.kakao.sdk:v2-user:2.10.0'
// pull to refresh
implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.1.0"
// view Pager2
implementation "androidx.viewpager2:viewpager2:1.0.0"
implementation 'me.relex:circleindicator:2.1.6'
//Firebase Realtime Database
implementation 'com.google.firebase:firebase-database-ktx'
//Cloud Firestore
implementation 'com.google.firebase:firebase-firestore-ktx'
// Firebase Storage SDK
implementation 'com.google.firebase:firebase-storage-ktx'
// Import the Firebase BoM
implementation platform('com.google.firebase:firebase-bom:31.2.3')
// When using the BoM, don't specify versions in Firebase dependencies
implementation 'com.google.firebase:firebase-analytics-ktx'
//카카오 SDK
implementation "com.kakao.sdk:v2-user:2.15.0" // 카카오 로그인
implementation "com.kakao.sdk:v2-talk:2.15.0" // 친구, 메시지(카카오톡)
implementation "com.kakao.sdk:v2-story:2.15.0" // 카카오스토리
implementation "com.kakao.sdk:v2-link:2.9.0" // 메시지(카카오링크)
implementation "com.kakao.sdk:v2-navi:2.15.0" // 카카오내비
//swipe refresh layout
implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.1.0"
//Skeleton UI
implementation "com.facebook.shimmer:shimmer:0.5.0"
//firebase remote config - update dialog
implementation 'com.google.firebase:firebase-config-ktx'
// Firebase Crashlytics
implementation 'com.google.firebase:firebase-crashlytics-ktx'
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.8.2'
implementation 'androidx.activity:activity-compose:1.9.0'
implementation platform('androidx.compose:compose-bom:2023.03.00')
implementation 'androidx.compose.ui:ui'
implementation 'androidx.compose.ui:ui-graphics'
implementation 'androidx.compose.ui:ui-tooling-preview'
implementation 'androidx.compose.material3:material3'
androidTestImplementation platform('androidx.compose:compose-bom:2023.03.00')
androidTestImplementation 'androidx.compose.ui:ui-test-junit4'
debugImplementation 'androidx.compose.ui:ui-tooling'
debugImplementation 'androidx.compose.ui:ui-test-manifest'
}