forked from yanzhenjie/NoHttp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.gradle
More file actions
85 lines (68 loc) · 3.05 KB
/
Copy pathconfig.gradle
File metadata and controls
85 lines (68 loc) · 3.05 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
ext {
plugins = [
library : 'com.android.library',
application: 'com.android.application',
butterknife: 'com.jakewharton.butterknife',
maven : 'com.github.dcendents.android-maven',
bintray : 'com.jfrog.bintray'
]
android = [
applicationId : "com.yanzhenjie.nohttp.sample",
compileSdkVersion : 25,
buildToolsVersion : "25.0.2",
libraryMinSdkVersion: 9,
minSdkVersion : 11,
targetSdkVersion : 25,
versionCode : 11,
versionName : "1.1",
]
maven = [
// name
nohttpCore : "nohttp-core",
nohttp : "nohttp",
okhttp : "okhttp",
rxnohttp : "rxnohttp",
// library
version : "1.1.1",
siteUrl : 'https://github.com/yanzhenjie/NoHttp',
gitUrl : 'git@github.com:yanzhenjie/NoHttp.git',
group : "com.yanzhenjie.nohttp",
// project
packaging : 'aar',
name : 'NoHttp',
description : 'Synchronous and asynchronous network request framework for Android',
// project.license
licenseName : 'The Apache Software License, Version 2.0',
licenseUrl : 'http://www.apache.org/licenses/LICENSE-2.0.txt',
// project.developers
developerId : 'yanzhenjie',
developerName : 'yanzhenjie',
developerEmail: 'smallajax@foxmail.com',
// bintray
bintrayRepo : "maven",
bintrayUser : 'yolanda',
bintrayLicense: "Apache-2.0"
]
dependencies = [
// create okhttp need.
okhttpUrl : 'com.squareup.okhttp3:okhttp-urlconnection:3.7.0',
// create rxnohttp need.
rxjava : 'io.reactivex.rxjava2:rxjava:2.1.0',
rxandroid : 'io.reactivex.rxjava2:rxandroid:2.0.1',
fastjson : 'com.alibaba:fastjson:1.1.54.android',
// nohttp-core.
nohttpcore : 'com.yanzhenjie.nohttp:core:1.1.1',
nohttp : 'com.yanzhenjie.nohttp:nohttp:1.1.1',
okhttp : 'com.yanzhenjie.nohttp:okhttp:1.1.1',
rxnohttp : 'com.yanzhenjie.nohttp:rxnohttp:1.1.1',
// sample.
appcompat : 'com.android.support:appcompat-v7:25.3.1',
recyclerview : 'com.android.support:recyclerview-v7:25.3.1',
design : 'com.android.support:design:25.3.1',
cardview : 'com.android.support:cardview-v7:25.3.1',
circleimageview : 'de.hdodenhof:circleimageview:2.1.0',
permisson : 'com.yanzhenjie:permission:1.0.7',
butterknifecompiler: 'com.jakewharton:butterknife-compiler:8.5.1',
butterknife : 'com.jakewharton:butterknife:8.5.1',
]
}