forked from nonullgg/TvJar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
47 lines (43 loc) · 1.45 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
plugins {
id 'com.android.application'
id 'ru.cleverpumpkin.proguard-dictionaries-generator'
}
android {
compileSdkVersion rootProject.compileSdkVersion
defaultConfig {
applicationId "com.github.catvod.demo"
minSdkVersion rootProject.miniSdkVersion
targetSdkVersion rootProject.targetSdkVersion
versionCode rootProject.appVersionCode
versionName rootProject.appVersionName
}
buildTypes {
release {
minifyEnabled true
proguardFiles 'proguard-rules.pro'
proguardDictionaries {
dictionaryNames = [
"build/class-dictionary",
"build/package-dictionary",
"build/obfuscation-dictionary"
]
minLineLength 1
maxLineLength 3
linesCountInDictionary 100000
}
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
dependencies {
implementation "org.jsoup:jsoup:$jsoup_version"
implementation "cn.wanghaomiao:JsoupXpath:$jsoupxpath_version"
implementation "com.squareup.okhttp3:okhttp:$okhttp_version"
implementation ("com.github.liujingxing.rxhttp:rxhttp:$rxhttp_version") {
exclude group: "com.squareup.okhttp3"
}
annotationProcessor "com.github.liujingxing.rxhttp:rxhttp-compiler:$rxhttp_version"
}