-
Notifications
You must be signed in to change notification settings - Fork 4
/
build.gradle
43 lines (37 loc) · 1.23 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
plugins {
id 'com.android.library'
id 'kotlin-android'
id 'kotlin-kapt'
}
android {
compileSdk compileVersion
defaultConfig {
minSdk minVersion
targetSdk targetVersion
}
buildFeatures {
dataBinding true
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = '1.8'
}
dependencies {
api "androidx.core:core-ktx:$coreKtxVersion"
api "androidx.activity:activity-ktx:$activityKtxVersion"
api "androidx.fragment:fragment-ktx:$fragmentKtxVersion"
api "androidx.appcompat:appcompat:$appcompatVersion"
api "androidx.constraintlayout:constraintlayout:$constraintLayoutVersion"
api "androidx.viewpager2:viewpager2:$viewPagerVersion"
api 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
// lifecycle
api "androidx.lifecycle:lifecycle-runtime-ktx:$lifecycleVersion"
api "androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycleVersion"
api "androidx.lifecycle:lifecycle-livedata-ktx:$lifecycleVersion"
// material
api "com.google.android.material:material:$materialVersion"
}
}