forked from helloworlde/SpringBootCollection
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
41 lines (34 loc) · 1.13 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
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 'https://repo.mobike.io/maven/'}
maven { url 'https://maven.aliyun.com/nexus/content/groups/public/' }
mavenCentral()
maven {
url "https://plugins.gradle.org/m2/"
}
maven { url 'https://repo.spring.io/snapshot' }
maven { url 'https://repo.spring.io/milestone' }
mavenCentral()
jcenter()
}
dependencies {
compile 'org.projectlombok:lombok:1.18.2'
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
// }
// }
}