-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
68 lines (61 loc) · 2.75 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
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'kotlin-kapt'
android {
compileSdkVersion 29
defaultConfig {
applicationId "ke.co.appslab.jetpacknavcontroller"
minSdkVersion 21
targetSdkVersion 29
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
javaCompileOptions {
annotationProcessorOptions {
arguments = [
"room.incremental":"true",
"room.expandProjection":"true"
]
}
}
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation"org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation 'androidx.appcompat:appcompat:1.1.0'
implementation 'androidx.core:core-ktx:1.2.0-rc01'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
implementation 'com.google.android.material:material:1.2.0-alpha04'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test:runner:1.3.0-alpha03'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0-alpha03'
implementation "androidx.navigation:navigation-fragment-ktx:2.2.0"
implementation "androidx.navigation:navigation-ui-ktx:2.2.0"
implementation "androidx.navigation:navigation-fragment-ktx:2.2.0"
implementation "androidx.lifecycle:lifecycle-extensions:2.2.0"
implementation "androidx.lifecycle:lifecycle-runtime:2.2.0"
implementation "androidx.lifecycle:lifecycle-livedata:2.2.0"
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.2.0"
//support for the view model saved state
implementation "androidx.lifecycle:lifecycle-viewmodel-savedstate:1.0.0"
kapt "androidx.lifecycle:lifecycle-compiler:2.2.0"
implementation "android.arch.paging:runtime:1.0.1"
implementation 'android.arch.persistence.room:runtime:2.1.0-alpha07'
kapt "android.arch.persistence.room:compiler:2.1.0-alpha07"
//kotlin extensions and coroutines support
implementation "androidx.room:room-ktx:2.2.3"
implementation "com.squareup.retrofit2:retrofit:2.6.1"
implementation 'com.squareup.retrofit2:converter-gson:2.6.1'
implementation 'com.github.bumptech.glide:glide:4.9.0'
implementation "org.jetbrains.anko:anko-commons:0.10.5"
implementation 'com.squareup.okhttp3:logging-interceptor:4.0.1'
implementation 'com.jakewharton.retrofit:retrofit2-kotlin-coroutines-adapter:0.9.2'
}