forked from didi/DoKit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathupload_local.sh
More file actions
executable file
·44 lines (42 loc) · 1.78 KB
/
upload_local.sh
File metadata and controls
executable file
·44 lines (42 loc) · 1.78 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
#!/bin/bash
#定义颜色的变量
RED_COLOR="\033[1;31m" #红
GREEN_COLOR="\033[1;32m" #绿
YELOW_COLOR="\033[1;33m" #黄
BLUE_COLOR="\033[1;34m" #蓝
PINK="\033[1;35m" #粉红
RES="\033[0m"
./gradlew checkUploadConfig4Local || ! echo -e "${RED_COLOR}未通过打包的配置检测!!! ${RES}" || exit
./gradlew copyPluginSource
./gradlew clean
#./gradlew assembleRelease --stacktrace
./gradlew :dokit-plugin:assemble --stacktrace
./gradlew :dokit:assembleRelease --stacktrace
./gradlew :dokit-no-op:assembleRelease --stacktrace
./gradlew :dokit-okhttp-api:assembleRelease --stacktrace
./gradlew :dokit-okhttp-v3:assembleRelease --stacktrace
./gradlew :dokit-okhttp-v4:assembleRelease --stacktrace
./gradlew :dokit-ft:assembleRelease --stacktrace
./gradlew :dokit-test:assembleRelease --stacktrace
./gradlew :dokit-autotest:assembleRelease --stacktrace
./gradlew :dokit-mc:assembleRelease --stacktrace
./gradlew :dokit-util:assembleRelease --stacktrace
./gradlew :dokit-weex:assembleRelease --stacktrace
./gradlew :dokit-pthread-hook:assembleRelease --stacktrace
./gradlew :dokit-gps-mock:assembleRelease --stacktrace
#publish
./gradlew :dokit:publish --stacktrace
./gradlew :dokit-no-op:publish --stacktrace
./gradlew :dokit-okhttp-api:publish --stacktrace
./gradlew :dokit-okhttp-v3:publish --stacktrace
./gradlew :dokit-okhttp-v4:publish --stacktrace
./gradlew :dokit-plugin:publish --stacktrace
./gradlew :dokit-ft:publish --stacktrace
./gradlew :dokit-test:publish --stacktrace
./gradlew :dokit-autotest:publish --stacktrace
./gradlew :dokit-mc:publish --stacktrace
./gradlew :dokit-util:publish --stacktrace
./gradlew :dokit-weex:publish --stacktrace
./gradlew :dokit-pthread-hook:publish --stacktrace
./gradlew :dokit-gps-mock:publish --stacktrace
echo -e "${GREEN_COLOR}本地打包完成!!!${RES}"