forked from hugo-xie/taicang-bi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
59 lines (50 loc) · 1.63 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
58
59
/*
* This build file was auto generated by running the Gradle 'init' task
* by 'globit' at '8/29/15 9:01 AM' with Gradle 2.4
*/
def vJavaLang = '1.8'
def javaProjects = [ project(':tiger-common-util'),project(':tiger-common-data'),project(':tiger-core'),
project(':tiger-biz'), project(':tiger-web')]
buildscript {
ext.springRepo = 'http://maven.oschina.net/content/groups/public/'
repositories {
maven { url springRepo }
}
dependencies {
classpath 'io.spring.gradle:dependency-management-plugin:0.5.1.RELEASE'
classpath "org.springframework.boot:spring-boot-gradle-plugin:1.2.3.RELEASE"
classpath 'org.springframework:springloaded:1.2.4.RELEASE'
}
}
configure(allprojects) {
apply plugin: 'eclipse'
apply plugin: 'idea'
}
configure(javaProjects) {
apply plugin: 'java'
compileJava.options.encoding = 'UTF-8'
targetCompatibility = vJavaLang
sourceCompatibility = vJavaLang
idea {
module {
inheritOutputDirs = false
outputDir = file("$buildDir/classes/main/")
}
}
repositories {
maven { url springRepo }
}
dependencies {
compile 'org.slf4j:slf4j-api'
compile 'org.projectlombok:lombok'
compile 'org.springframework.boot:spring-boot-starter-log4j'
testCompile 'junit:junit'
testCompile 'org.springframework:spring-test'
testCompile 'org.hamcrest:hamcrest-library'
testCompile 'org.mockito:mockito-core'
testCompile 'org.objenesis:objenesis'
}
configurations {
all*.exclude module: 'spring-boot-starter-logging'
}
}