This repository has been archived by the owner on Jun 22, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
53 lines (42 loc) · 1.91 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
plugins {
id 'groovy'
id 'java'
id 'idea'
id 'org.springframework.boot' version '1.5.7.RELEASE'
}
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
repositories {
jcenter()
}
bootRepackage.enabled = false
def springBootVersion = plugins.getPlugin('org.springframework.boot').class.package.implementationVersion
def versions = [
springBoot : springBootVersion,
]
dependencies {
compile group: 'com.google.guava', name :'guava', version:'21.0'
compile group: 'org.codehaus.groovy', name :'groovy-all', version:'2.4.7'
compile group: 'org.hamcrest', name :'hamcrest-core'
compile group: 'org.springframework.boot', name: 'spring-boot-starter-web', version: versions.springBoot
compile group: 'org.springframework.boot', name :'spring-boot-starter-jetty', version: versions.springBoot
compile group: 'org.springframework.boot', name :'spring-boot-starter-logging', version: versions.springBoot
runtime group: 'org.springframework.boot', name :'spring-boot-devtools', version: versions.springBoot
testRuntime group: 'cglib', name :'cglib-nodep', version:'3.2.4'
testCompile group: 'com.github.stephenc.jcip', name :'jcip-annotations', version:'1.0-1'
testCompile group: 'com.fasterxml.jackson.core', name :'jackson-databind'
testCompile group: 'io.rest-assured', name :'rest-assured', version:'3.0.5'
testCompile group: 'junit', name :'junit', version:'4.12'
testCompile group: 'org.springframework.boot', name :'spring-boot-starter-test', version: versions.springBoot
testCompile group: 'org.spockframework', name :'spock-core', version:'1.1-groovy-2.4'
testCompile group: 'org.spockframework', name :'spock-spring', version:'1.1-groovy-2.4'
}
idea {
module {
inheritOutputDirs = false
outputDir = file("$buildDir/classes/main/")
}
}
task {
systemProperties System.getProperties()
}