-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathbuild.gradle
68 lines (56 loc) · 2.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
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
android {
compileSdkVersion rootProject.ext.compileSdkVersion
buildToolsVersion rootProject.ext.buildToolsVersion
defaultConfig {
multiDexEnabled true
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 1
versionName "1.0.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
lintOptions {
abortOnError false
}
}
dependencies {
//implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.multidex:multidex:2.0.1'
implementation ("org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"){
force true
}
implementation 'androidx.appcompat:appcompat:1.1.0'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
testImplementation 'junit:junit:4.13'
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
// RecyclerView and CardView
implementation 'androidx.cardview:cardview:1.0.0'
implementation "io.reactivex:rxandroid:$rxAndroidVersion"
implementation "io.reactivex:rxjava:$rxJavaVersion"
// Lifecycle
implementation 'androidx.lifecycle:lifecycle-extensions:2.0.0'
//Square dependencies
implementation("com.squareup.retrofit2:retrofit:$retrofitVersionLatest") {
// exclude Retrofit’s OkHttp peer-dependency module and define your own module import
exclude module: 'okhttp'
}
implementation "com.squareup.retrofit2:converter-gson:$retrofitVersionLatest"
implementation "com.squareup.retrofit2:converter-scalars:$retrofitVersionLatest"
implementation "com.squareup.retrofit2:adapter-rxjava:$retrofitVersionLatest"
implementation "com.squareup.okhttp3:okhttp:$okHttp3Version"
implementation "com.squareup.okhttp3:logging-interceptor:$okHttp3Version"
implementation project(path: ':core')
implementation ("com.github.danishjamal104:fineract-client:$fineractClientVersion") {
exclude module: 'okhttp'
}
}