-
Notifications
You must be signed in to change notification settings - Fork 12
/
config.gradle
38 lines (32 loc) · 1.56 KB
/
config.gradle
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
ext {
version = '4.5.17.7'
compileSdkVersion = 28
buildToolsVersion = '28.0.3'
minSdkVersion = 14
targetSdkVersion = 31
sourceJavaVersion = JavaVersion.VERSION_1_8
targetJavaVersion = JavaVersion.VERSION_1_8
release = "${project.rootDir}" + '/ans-sdk/release/aar/'
buildClass = 'build/intermediates/javac/release/classes'
pushName = release + 'analysys_push_' + "${version}_${releaseTime()}" + '.jar'
paasName = release + 'analysys_core_' + "${version}_${releaseTime()}" + '.jar'
zipName = 'analysys_paas_android_java_' + "${version}_${releaseTime()}"
visualName = release + 'analysys_visual_' + "${version}_${releaseTime()}" + '.jar'
mpaasName = release + 'analysys_mpaas_' + "${version}_${releaseTime()}" + '.jar'
reactNativeName = release + 'analysys_react_native_' + "${version}_${releaseTime()}" + '.jar'
cmbName = release + 'analysys_CMB_' + "${version}_${releaseTime()}" + '.jar'
encryptName = release + 'analysys_encrypt_' + "${version}_${releaseTime()}" + '.jar'
moduleName = ['analysys_core_' + "${version}",
'analysys_encryption_' + "${version}",
'analysys_push_' + "${version}",
'analysys_visual_' + "${version}",
'analysys_mpaas_' + "${version}",
'analysys_react_native_' + "${version}",
'analysys_allgro_' + "${version}"
]
releaseTimeVariable = "${releaseTime()}"
}
/** 获取东八区时间 */
def releaseTime() {
return new Date().format("yyyyMMdd", TimeZone.getTimeZone("UTC +8"))
}