-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
34 lines (31 loc) · 855 Bytes
/
build.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
buildscript {
ConfigUtils.init(gradle)
repositories {
google()
jcenter()
//umeng
maven { url "https://dl.bintray.com/umsdk/release" }
}
dependencies {
for (def entrySet : ConfigUtils.getApplyPlugins().entrySet()) {
classpath entrySet.value.dep
}
}
}
allprojects {
repositories {
google()
jcenter()
maven { url "https://jitpack.io" }
//umeng
maven { url "https://dl.bintray.com/umsdk/release" }
}
buildDir = new File(rootDir, "gradle-build/${path.replaceAll(':', '/')}")
}
def releaseTime() {
// return new Date().format("yyyy-MM-dd-HH-mm", TimeZone.getTimeZone("GMT+08:00"))
return new Date().format("yyyy-MM-dd", TimeZone.getTimeZone("GMT+08:00"))
}
task clean(type: Delete) {
delete rootProject.buildDir
}