-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathbuild.gradle
57 lines (43 loc) · 1.31 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
//apply from: "indy.gradle"
allprojects {
group = 'com.ttpod'
version = '1.0-SNAPSHOT'
apply plugin: 'maven'
repositories {
mavenLocal()
// maven{ url "http://mvn.ttpod.com/nexus/content/groups/public/"}
// maven{ url "http://mvnrepo.alibaba-inc.com/nexus/content/groups/public/"}
jcenter()
mavenCentral()
}
}
subprojects {
// apply plugin: 'idea'
apply plugin: 'java'
compileJava.sourceCompatibility = '1.7'
compileJava.targetCompatibility = '1.7'
[ compileJava, compileTestJava ]*.options*.encoding = 'UTF-8'
// compileJava.options.compilerArgs = ['-Xlint:unchecked']
// configurations { provided }
// sourceSets {
// main { compileClasspath += configurations.provided }
// }
apply from: "${rootProject.projectDir}/gradle/slf4j.gradle"
// apply from: "${rootProject.projectDir}/gradle/groovy.gradle"
// apply from: "${rootProject.projectDir}/gradle/webapp.gradle"
apply from: "${rootProject.projectDir}/gradle/source.gradle"
dependencies {
testCompile 'junit:junit:4.11'
}
configurations {
runtime.exclude module: 'junit'
}
}
//
//task wrapper(type: Wrapper) {
// description = 'Generates gradlew[.bat] scripts'
// gradleVersion = '1.6'
//}
ext{
curatorVersion = "2.4.0"
}