Skip to content

Commit a096535

Browse files
committed
修改gradle引用
1 parent 071a2d3 commit a096535

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

app/build.gradle

+4-4
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ dependencies {
4242
implementation rootProject.ext.dependencies["pulltorefresh"]
4343
implementation rootProject.ext.dependencies["okhttp"]
4444
implementation rootProject.ext.dependencies["okio"]
45-
implementation rootProject.ext.dependencies["MVCHelper-Task-Core"]
46-
implementation rootProject.ext.dependencies["MVCHelper-Tasks"]
47-
implementation rootProject.ext.dependencies["MVCHelper-OkHttp"]
48-
implementation rootProject.ext.dependencies["MVCHelper-TestCase"]
45+
implementation rootProject.ext.dependencies["task-core"]
46+
implementation rootProject.ext.dependencies["task-tasks"]
47+
implementation rootProject.ext.dependencies["task-okhttp"]
48+
implementation rootProject.ext.dependencies["task-testcase"]
4949

5050
// compile 'com.shizhefei:MVCHelper-Library:1.0.3'
5151
// compile 'com.shizhefei:MVCHelper-Pullrefreh:1.0.2'

config.gradle

+5-4
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ ext {
2929

3030
supportVersion = "28.0.0"
3131
mvcHelperVersion = "1.4.0"
32+
taskVersion = "1.0.0"
3233

3334
dependencies = ["appcompat-v7" : "com.android.support:appcompat-v7:${supportVersion}",
3435
"support-v4" : "com.android.support:support-v4:${supportVersion}",
@@ -48,14 +49,14 @@ ext {
4849
"okio" : "com.squareup.okio:okio:1.9.0",
4950
"butterknife" : "com.jakewharton:butterknife:7.0.1",
5051
"otto" : "com.squareup:otto:1.3.8",
51-
"MVCHelper-Task-Core" : "com.shizhefei:MVCHelper-Task-Core:${mvcHelperVersion}",
52+
"task-core" : "com.shizhefei:task-core:${taskVersion}",
53+
"task-okhttp" : "com.shizhefei:task-okhttp:${taskVersion}",
54+
"task-tasks" : "com.shizhefei:task-tasks:${taskVersion}",
55+
"task-testcase" : "com.shizhefei:task-testcase:${taskVersion}",
5256
"MVCHelper-Library" : "com.shizhefei:MVCHelper-Library:${mvcHelperVersion}",
5357
"MVCHelper-SwipeRefresh" : "com.shizhefei:MVCHelper-SwipeRefresh:${mvcHelperVersion}",
5458
"MVCHelper-UltraRefresh" : "com.shizhefei:MVCHelper-UltraRefresh:${mvcHelperVersion}",
55-
"MVCHelper-TestCase" : "com.shizhefei:MVCHelper-TestCase:${mvcHelperVersion}",
5659
"MVCHelper-Pullrefresh" : "com.shizhefei:MVCHelper-Pullrefresh:${mvcHelperVersion}",
57-
"MVCHelper-OkHttp" : "com.shizhefei:MVCHelper-OkHttp:${mvcHelperVersion}",
58-
"MVCHelper-Tasks" : "com.shizhefei:MVCHelper-Tasks:${mvcHelperVersion}",
5960
"ultra" : "in.srain.cube:ultra-ptr:1.0.11",
6061
"pulltorefresh" : "com.shizhefei:pulltorefresh:1.0.1",
6162
"ViewPagerIndicator" : "com.shizhefei:ViewPagerIndicator:1.0.7",

mvchelper_library/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ apply from: rootProject.file("library.gradle")
44
dependencies {
55
implementation fileTree(include: ['*.jar'], dir: 'libs')
66
compileOnly rootProject.ext.dependencies["recyclerview-v7"]
7-
api rootProject.ext.dependencies["MVCHelper-Task-Core"]
7+
api rootProject.ext.dependencies["task-core"]
88
}
99

1010
////添加

0 commit comments

Comments
 (0)