Skip to content

Commit 8313c29

Browse files
committed
将mvchelper_task 从 mvchelper_library 抽离出来,准备单独作为一个task类库,而原先mvchelper依赖task类库
1 parent 6ad14b7 commit 8313c29

26 files changed

+51
-1
lines changed

mvchelper_library/build.gradle

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +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 project(':mvchelper_task')
78
}
89

910
////添加

mvchelper_task/.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/build

mvchelper_task/build.gradle

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
apply plugin: 'com.android.library'
2+
apply from: rootProject.file("library.gradle")
3+
4+
dependencies {
5+
implementation fileTree(include: ['*.jar'], dir: 'libs')
6+
compileOnly rootProject.ext.dependencies["support-v4"]
7+
}
8+
9+
////添加
10+
//publish {
11+
// userOrg = 'luckyjayce'//bintray.com用户名
12+
// groupId = 'com.shizhefei'//jcenter上的路径
13+
// artifactId = 'MVCHelper-Task'//项目名称
14+
// publishVersion = rootProject.ext.VERSION_NAME//版本号
15+
// desc = 'Task类库'//描述,不重要
16+
// website = 'https://github.com/LuckyJayce/MVCHelper'//网站,不重要;尽量模拟github上的地址,例如我这样的;当然你有地址最好了
17+
//}

mvchelper_task/proguard-rules.pro

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Add project specific ProGuard rules here.
2+
# By default, the flags in this file are appended to flags specified
3+
# in /Users/luckyjayce/Library/Android/sdk/tools/proguard/proguard-android.txt
4+
# You can edit the include path and order by changing the proguardFiles
5+
# directive in build.gradle.
6+
#
7+
# For more details, see
8+
# http://developer.android.com/guide/developing/tools/proguard.html
9+
10+
# Add any project specific keep options here:
11+
12+
# If your project uses WebView with JS, uncomment the following
13+
# and specify the fully qualified class name to the JavaScript interface
14+
# class:
15+
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16+
# public *;
17+
#}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2+
package="com.shizhefei.task">
3+
4+
</manifest>

settings.gradle

+11-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,11 @@
1-
include ':app', ':mvchelper_library', ':mvchelper_tasks', ":mvchelper_okhttp", ':mvcswiperefreshhelper', ':mvcultrahelper', ':mvcpullrefshhelper', ':mvchelper_testcase', ':pulltorefresh_library', ':mvccoolhelper'
1+
include ':app'
2+
include ':mvchelper_library'
3+
include ':mvchelper_task'
4+
include ':mvchelper_tasks'
5+
include ":mvchelper_okhttp"
6+
include ':mvcswiperefreshhelper'
7+
include ':mvcultrahelper'
8+
include ':mvcpullrefshhelper'
9+
include ':mvchelper_testcase'
10+
include ':pulltorefresh_library'
11+
include ':mvccoolhelper'

0 commit comments

Comments
 (0)