-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsc-task-config.gradle
More file actions
62 lines (56 loc) · 2.35 KB
/
Copy pathsc-task-config.gradle
File metadata and controls
62 lines (56 loc) · 2.35 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
ext {
curTime = rootProject.properties["BUILD_TIMESTAMP"] == null ? getCurTime() : rootProject.properties["BUILD_TIMESTAMP"]
backupPath = "../buildBackup/"
signing = [
keyAlias : 'SmartCode',
keyPassword : 'SmartCode',
storeFile : '../sign.keystore',
storePassword: 'SmartCode']
pgy = [
enable : false,
apiKey : "xxx",
appKey : "xxx",
uploadUrl : "https://www.pgyer.com/apiv2/app/upload",
devChannel : "xxx_dev",
devChannelKey : "xxx",
proChannel : "xxx_pro",
proChannelKey : "xxx",
downloadType : "2",//2=密码安装,3=邀请安装
downloadPassword: "666"
]
fir = [
enable : false,
apiKey : "xxx",
uploadUrl: "http://api.bq04.com/apps",
uploadLog: "优化代码"
]
jiagu = [
name : '18510961024',
password : 'only@256688',
zipPath : "/Users/chenhao/Android/jiagu/360jiagu.zip",
unzipPath : "/Users/chenhao/Android/jiagu/360jiagubao/",
jarPath : '/Users/chenhao/Android/jiagu/360jiagubao/jiagu/jiagu.jar',
channelConfigPath : '/Users/chenhao/Android/jiagu/Channel.txt',
jiagubao_mac : "https://down.360safe.com/360Jiagu/360jiagubao_mac.zip",
jiagubao_windows : "https://down.360safe.com/360Jiagu/360jiagubao_windows_64.zip",
jiagubao_linux : "https://down.360safe.com/360Jiagu/360jiagubao_linux_64.zip",
devOutputPath : "${backupPath}/dev_jiagu/${curTime}/",
productionOutputPath: "${backupPath}/production_jiagu/${curTime}/"
]
android = [
compileSdkVersion: 30,
buildToolsVersion: "30.0.3",
minSdkVersion : 21,
targetSdkVersion : 30,
versionCode : 1,
versionName : "1.0.0",
versionCodeDev : 1,
versionNameDev : "测试",
appId : "ch.smart.code.lib",
appName : "SmartCodeLib",
outPutApkName : "SCL-1.0.0.apk"
]
}
static def getCurTime() {
return new Date().format("yyyy-MM-dd_HH-mm-ss")
}