-
Notifications
You must be signed in to change notification settings - Fork 0
/
common-android-library.gradle
49 lines (44 loc) · 1.44 KB
/
common-android-library.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
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
android {
compileSdkVersion 28
defaultConfig {
minSdkVersion 21
targetSdkVersion 28
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
components.all {
allVariants {
withDependencies { deps ->
deps.each { dep ->
if (dep.group == 'net.minidev' && dep.name == 'json-smart') {
dep.version {
prefer "2.3"
}
dep.because "resolving dependencies issue"
}
}
}
}
}
implementation 'androidx.appcompat:appcompat:1.0.2'
implementation 'com.google.android.material:material:1.0.0'
implementation Libraries.kotlin
implementation HATApiLibrary.api
implementation Libraries.jwt
implementation SupportLibraries.constraint
implementation 'com.github.kittinunf.fuel:fuel-android:1.14.0'
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.0-M1"
implementation "org.jetbrains.anko:anko-commons:0.10.4"
}