-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
46 lines (41 loc) · 1 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
allprojects {
apply plugin: 'java'
group = 'org.kcwiki.x'
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
mavenCentral()
}
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}
task allTask << {
println project.name
}
}
subprojects {
ext {
junitVersion = "4.12"
}
dependencies {
testCompile("junit:junit:${junitVersion}")
}
}
//添加依赖
//dependencies {
// compile "org.iharu:SpringBoot"
// compile group: 'commons-collections', name: 'commons-collections', version: '3.2'
// testCompile group: 'junit', name: 'junit', version: '4.+'
//}
//jar {
// manifest {
// attributes(
// "Manifest-Version": 1.0,
// "Main-Class": "")
// }
// from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
// into('assets') {
// from 'assets'
// }
//}