build.gradle
4.24 KB
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
apply plugin: 'com.android.library'
android {
compileSdkVersion rootProject.ext.compileSdkVersion
defaultConfig {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
def BOOLEAN = "boolean"
def TRUE = "true"
def FALSE = "false"
def IS_SHOW_LOG = "IS_SHOW_LOG"
release {
minifyEnabled false
buildConfigField BOOLEAN, IS_SHOW_LOG, FALSE
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
publishNonDefault true
}
//repositories {
// flatDir {
// dirs 'libs' //this way we can find the .aar file in libs folder
// }
// google()
//}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:26.1.0'
implementation 'com.android.support.constraint:constraint-layout:1.0.2'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.1'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
// Android support
compile "com.android.support:appcompat-v7:$rootProject.supportLibraryVersion"
compile "com.android.support:cardview-v7:$rootProject.supportLibraryVersion"
compile "com.android.support:design:$rootProject.supportLibraryVersion"
compile "com.android.support:recyclerview-v7:$rootProject.supportLibraryVersion"
//delete
compile 'com.yanzhenjie:recyclerview-swipe:1.1.4'
// Retrofit
compile "com.squareup.retrofit2:retrofit:$rootProject.retrofitVersion"
compile "com.squareup.retrofit2:converter-gson:$rootProject.retrofitVersion"
compile "com.squareup.retrofit2:adapter-rxjava2:$rootProject.retrofitVersion"
compile "com.squareup.okhttp3:logging-interceptor:$rootProject.okhttploggingVersion"
compile "com.squareup.okhttp3:okhttp:$rootProject.okhttpVersion"
// RxJava
compile "io.reactivex.rxjava2:rxjava:$rootProject.rxjavaVersion"
compile "io.reactivex.rxjava2:rxandroid:$rootProject.rxandroidVersion"
compile "com.jakewharton.rxbinding2:rxbinding:$rootProject.rxbindingVersion"
// Glide
compile "com.github.bumptech.glide:glide:$rootProject.glideVersion"
compile "com.github.bumptech.glide:okhttp-integration:$rootProject.glideokhttpVersion"
compile "jp.wasabeef:glide-transformations:$rootProject.glideTransformationVersion"
//Butterknife
compile "com.jakewharton:butterknife:$rootProject.butterknifeVersion"
annotationProcessor 'com.jakewharton:butterknife-compiler:8.4.0'
//fragmentation
compile "me.yokeyword:fragmentation:$rootProject.fragmentationVersion"
//Logger
compile "com.orhanobut:logger:$rootProject.loggerVersion"
//circle imageview
compile "de.hdodenhof:circleimageview:$rootProject.circleImageviewVersion"
//BaseRecyclerViewAdapterHelper
compile "com.github.CymChad:BaseRecyclerViewAdapterHelper:$rootProject.BaseRecyclerViewAdapterHelperVersion"
//SwitchButton
compile "com.kyleduo.switchbutton:library:$rootProject.SwtichButtonVersion"
//PhotoView
compile "com.bm.photoview:library:$rootProject.PhotoViewVersion"
compile "com.cocosw:bottomsheet:$rootProject.BottomSheetVersion"
//permissions
compile "com.tbruyelle.rxpermissions2:rxpermissions:$rootProject.rxPerssionsVersion"
//timber
compile 'com.jakewharton.timber:timber:4.5.1'
//jiaozivideoplayer
compile 'cn.jzvd:jiaozivideoplayer:6.2.7'
// compile(name: 'jiaozivideoplayer-6.2.3', ext: 'aar')
//轮播图XBanner
compile 'com.xhb:xbanner:1.3.1'
//省市区联动
compile 'me.leefeng:citypicker:1.0'
//日历控件
compile 'com.github.idic779:monthweekmaterialcalendarview:1.7'
//标签拖动排序
compile 'com.huxq17.handygridview:handygridview:1.1.0'
//xrecyclerview
compile 'com.jcodecraeer:xrecyclerview:1.5.9'
//悬浮窗
// compile 'com.github.yhaolpz:FloatWindow:1.0.8'
//数据库
compile 'com.j256.ormlite:ormlite-core:4.48'
compile 'com.j256.ormlite:ormlite-android:4.48'
}