-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
42 lines (37 loc) · 1.08 KB
/
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
35
36
37
38
39
40
41
42
// Top-level build file where you can add configuration options common to all sub-projects/modules.
apply plugin: 'mc-deploy'
buildscript {
repositories {
mavenLocal()
maven {
url "http://nexus.mucang.cn:8082/nexus/content/groups/public/"
// url "http://192.168.0.44:8081/nexus/content/groups/public/"
}
}
configurations.classpath.resolutionStrategy.cacheDynamicVersionsFor 10, 'seconds'
dependencies {
classpath 'com.android.tools.build:gradle:2.1.2'
classpath 'cn.mucang.simple.plugins:mucang-deploy:+'
classpath 'nu.studer:gradle-credentials-plugin:1.0.1'
}
}
allprojects {
repositories {
mavenLocal()
maven {
url mavenNexusUrl
credentials {
username project.properties["deploy.userName"]
password project.credentials[username]
}
}
jcenter()
mavenCentral()
}
}
subprojects {
task allDeps(type: DependencyReportTask) {}
}
//task clean(type: Delete) {
// delete rootProject.buildDir
//}