forked from helloworlde/SpringBootCollection
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
33 lines (26 loc) · 832 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
subprojects {
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'eclipse'
group = 'cn.com.hellowood'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = 1.8
// java编译的时候缺省状态下会因为中文字符而失败
[compileJava, compileTestJava, javadoc]*.options*.encoding = 'UTF-8'
repositories {
mavenLocal()
maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' }
mavenCentral()
jcenter()
}
dependencies {
compile('org.apache.commons:commons-lang3:3.7')
compile('com.google.guava:guava:19.0')
testCompile ('junit:junit:4.12')
}
task listJars(description: 'Display all compile jars.') << {
configurations.compile.each {
File file -> println file.name
}
}
}