-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
55 lines (48 loc) · 1.47 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
buildscript {
ext {
springBootVersion = '1.2.7.RELEASE'
}
repositories {
mavenCentral()
}
dependencies {
classpath 'org.springframework.boot:spring-boot-gradle-plugin:' + springBootVersion
classpath 'io.spring.gradle:dependency-management-plugin:0.5.3.RELEASE'
}
}
apply plugin: 'java'
apply plugin: 'groovy'
apply plugin: 'idea'
apply plugin: 'spring-boot'
apply plugin: 'io.spring.dependency-management'
version = '1.0'
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
mavenLocal()
jcenter()
mavenCentral()
}
configurations {
compile.exclude module: "spring-boot-starter-tomcat"
}
dependencies {
compile 'org.springframework.boot:spring-boot-starter'
compile 'org.springframework.boot:spring-boot-starter-data-mongodb'
compile 'org.codehaus.groovy:groovy-all:2.4.3'
testCompile 'org.springframework.boot:spring-boot-starter-test'
testCompile 'org.springframework:spring-test'
testCompile 'junit:junit:4.12'
testCompile 'com.squareup.okhttp:okhttp:2.4.0'
testCompile("org.spockframework:spock-core:1.0-groovy-2.4") {
exclude group: 'org.codehaus.groovy', module: 'groovy-all'
}
testRuntime("org.spockframework:spock-spring:1.0-groovy-2.4") {
exclude group: 'org.spockframework', module: 'spock-core'
}
testRuntime "cglib:cglib-nodep:3.1"
testRuntime "org.objenesis:objenesis:1.2"
}
task wrapper(type: Wrapper) {
gradleVersion = '2.4'
}