-
Notifications
You must be signed in to change notification settings - Fork 1.9k
/
build.gradle
88 lines (75 loc) · 2.37 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
apply plugin: 'com.android.application'
android {
compileSdkVersion 28
buildToolsVersion '28.0.3'
defaultConfig {
applicationId "com.justwayward.reader"
minSdkVersion 21
targetSdkVersion 28
versionCode 1
versionName "1.0"
javaCompileOptions {
annotationProcessorOptions {
includeCompileClasspath = true
}
}
}
signingConfigs {
release {
storeFile file(KEYSTORE_FILE)
storePassword KEYSTORE_PWD
keyAlias KEY_ALIAS
keyPassword KEY_PWD
}
}
buildTypes {
debug {
signingConfig signingConfigs.release
}
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.release
}
}
lintOptions {
disable 'InvalidPackage'
}
packagingOptions {
exclude 'META-INF/services/javax.annotation.processing.Processor'
}
sourceSets {
main {
jniLibs.srcDirs = ['libs']
}
}
}
dependencies {
api fileTree(include: ['*.jar'], dir: 'libs')
compile project(':EasyAdapterLibrary')
api 'androidx.appcompat:appcompat:1.0.0'
api 'com.google.android.material:material:1.0.0'
api 'androidx.cardview:cardview:1.0.0'
// Net
api 'com.squareup.retrofit2:retrofit:2.1.0'
api 'com.squareup.retrofit2:adapter-rxjava:2.0.1'
api 'com.squareup.retrofit2:converter-gson:2.0.0-beta4'
api 'com.squareup.retrofit2:converter-scalars:2.0.0-beta4'
api 'com.squareup.okhttp3:okhttp:3.2.0'
// Annotation
implementation 'com.google.dagger:dagger:2.44'
annotationProcessor 'com.google.dagger:dagger-compiler:2.44'
compileOnly 'org.glassfish:javax.annotation:10.0-b28'
api 'com.jakewharton:butterknife:7.0.1'
// Rx
api 'io.reactivex:rxandroid:1.1.0'
api 'io.reactivex:rxjava:1.1.5'
// Bus
api 'org.greenrobot:eventbus:3.0.0'
implementation 'com.github.chrisbanes.photoview:library:1.2.4'
api 'org.ccil.cowan.tagsoup:tagsoup:1.2.1'
// leakcanary
debugCompile 'com.squareup.leakcanary:leakcanary-android:1.5'
releaseCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.5'
testCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.5'
}