-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
135 lines (125 loc) · 5.35 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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'kotlin-kapt'
apply plugin: 'com.google.gms.google-services'
android {
compileSdkVersion 29
defaultConfig {
applicationId "com.openclassrooms.realestatemanager"
minSdkVersion 19
targetSdkVersion 29
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
multiDexEnabled true
resValue "string", "api_key_google", API_GOOGLE_REAL_ESTATE_MANAGER
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
testCoverageEnabled false
}
debug {
testCoverageEnabled true
}
}
compileOptions {
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
}
lintOptions {
abortOnError false
}
packagingOptions {
exclude 'LICENSE.txt'
}
kotlinOptions {
jvmTarget = JavaVersion.VERSION_1_8.toString()
}
testOptions {
unitTests.returnDefaultValues = true
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.appcompat:appcompat:1.1.0'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
// TESTING
androidTestImplementation 'androidx.arch.core:core-testing:2.0.0'
testImplementation 'androidx.arch.core:core-testing:2.0.0'
testImplementation 'org.mockito:mockito-inline:2.13.0'
androidTestImplementation 'org.mockito:mockito-android:2.24.5'
testImplementation 'org.hamcrest:hamcrest-library:1.3'
testImplementation 'junit:junit:4.12'
testImplementation "com.nhaarman.mockitokotlin2:mockito-kotlin:2.2.0"
testImplementation 'org.powermock:powermock-api-mockito:1.4.12'
testImplementation 'org.powermock:powermock-module-junit4:1.6.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
androidTestImplementation 'androidx.test.espresso:espresso-intents:3.1.0'
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
androidTestImplementation 'androidx.test:rules:1.1.1'
androidTestImplementation 'androidx.annotation:annotation:1.0.0'
testImplementation 'org.robolectric:robolectric:4.3'
// KOTLIN
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.3.70'
implementation 'androidx.core:core-ktx:1.2.0'
// COROUTINES
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-play-services:1.2.1"
testImplementation "org.jetbrains.kotlinx:kotlinx-coroutines-test:1.3.1"
androidTestImplementation "org.jetbrains.kotlinx:kotlinx-coroutines-test:1.3.1"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.1"
// Material Design
implementation 'com.google.android.material:material:1.0.0'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'com.google.android.material:material:1.0.0'
//ROOM
implementation "androidx.room:room-runtime:2.2.4"
kapt "androidx.room:room-compiler:2.2.4"
implementation "androidx.room:room-ktx:2.2.4"
testImplementation "androidx.room:room-testing:2.2.4"
//VIEW MODEL & LIVE DATA
implementation 'androidx.lifecycle:lifecycle-extensions:2.0.0'
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.2.0"
// 310 ABP
implementation 'com.jakewharton.threetenabp:threetenabp:1.2.1'
// WORK MANAGER
implementation 'androidx.work:work-runtime:2.0.1'
// GOOGLE
implementation 'com.google.android.gms:play-services-maps:17.0.0'
implementation 'com.google.android.gms:play-services-location:17.0.0'
implementation 'com.google.android.gms:play-services-auth:17.0.0'
implementation 'com.google.android.libraries.places:places:2.2.0'
implementation 'com.google.maps.android:android-maps-utils:0.4.4'
// FIREBASE
implementation 'com.google.firebase:firebase-analytics:17.2.3'
implementation 'com.firebaseui:firebase-ui-auth:4.3.1'
implementation 'com.google.firebase:firebase-auth:19.2.0'
implementation 'com.google.firebase:firebase-core:17.2.3'
implementation 'com.firebaseui:firebase-ui-firestore:4.3.1'
implementation 'com.google.firebase:firebase-storage:19.1.1'
// RETROFIT
implementation 'com.squareup.retrofit2:retrofit:2.6.4'
implementation 'com.squareup.retrofit2:retrofit-mock:2.6.4'
implementation 'com.squareup.retrofit2:adapter-rxjava2:2.6.4'
implementation 'com.squareup.retrofit2:retrofit-mock:2.6.4'
// GSON
implementation 'com.squareup.retrofit2:converter-gson:2.6.4'
implementation 'com.google.code.gson:gson:2.8.6'
// GLIDE
implementation 'com.github.bumptech.glide:glide:4.11.0'
// Circle Image View
implementation 'de.hdodenhof:circleimageview:3.0.0'
//EASY PERMISSIONS
implementation 'pub.devrel:easypermissions:1.1.1'
// CARD VIEW
implementation 'androidx.cardview:cardview:1.0.0'
implementation 'com.appyvet:materialrangebar:1.4.7'
implementation 'com.crystal:crystalrangeseekbar:1.1.3'
implementation 'io.reactivex.rxjava2:rxjava:2.1.14'
implementation 'io.reactivex.rxjava2:rxandroid:2.0.2'
// CHIP NACHOS
implementation "com.hootsuite.android:nachos:1.1.1"
}