-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
94 lines (74 loc) · 3.17 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
apply plugin: 'com.android.application'
apply plugin: 'androidx.navigation.safeargs'
android {
compileSdkVersion 29
buildToolsVersion "29.0.0"
defaultConfig {
applicationId "com.oganbelema.bakingapp"
minSdkVersion 21
targetSdkVersion 29
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
dataBinding.enabled = true
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.appcompat:appcompat:1.0.2'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
implementation 'androidx.recyclerview:recyclerview:1.0.0'
// ViewModel and LiveData
implementation "androidx.lifecycle:lifecycle-extensions:$lifecycle_version"
//rxjava
implementation 'io.reactivex.rxjava2:rxjava:2.2.8'
//rxAndroid
implementation 'io.reactivex.rxjava2:rxandroid:2.1.1'
//retrofit dependency
implementation 'com.squareup.retrofit2:retrofit:2.5.0'
//RxAndroid with retrofit.
implementation 'com.squareup.retrofit2:adapter-rxjava2:2.4.0'
//gson
implementation 'com.squareup.retrofit2:converter-gson:2.4.0'
//picasso dependency
implementation 'com.squareup.picasso:picasso:2.71828'
//Dagger
implementation "com.google.dagger:dagger:$rootProject.daggerVersion"
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
annotationProcessor "com.google.dagger:dagger-compiler:$rootProject.daggerVersion"
//Http logger
implementation "com.squareup.okhttp3:logging-interceptor:$rootProject.loggingInterceptorVersion"
//lottie animation
implementation 'com.airbnb.android:lottie:3.0.1'
//navigation controller
implementation "androidx.navigation:navigation-fragment:$nav_version"
implementation "androidx.navigation:navigation-ui:$nav_version"
//exoplayer
implementation 'com.google.android.exoplayer:exoplayer-core:2.8.4'
implementation 'com.google.android.exoplayer:exoplayer-dash:2.8.4'
implementation 'com.google.android.exoplayer:exoplayer-ui:2.8.4'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test:runner:1.2.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
implementation project(path: ':network')
androidTestImplementation 'androidx.test:rules:1.3.0-alpha01'
//espresso recycler view
androidTestImplementation('com.android.support.test.espresso:espresso-contrib:2.2') {
// Necessary to avoid version conflicts
exclude group: 'com.android.support', module: 'appcompat'
exclude group: 'com.android.support', module: 'support-v4'
exclude group: 'com.android.support', module: 'support-annotations'
exclude module: 'recyclerview-v7'
}
androidTestCompile 'com.jakewharton.espresso:okhttp3-idling-resource:1.0.0'
}