-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
71 lines (54 loc) · 1.93 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
60
61
62
63
64
65
66
67
68
69
70
71
group 'tmp-enrollment'
version '1.0-SNAPSHOT'
task wrapper(type: Wrapper) {
gradleVersion = '2.12'
}
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:1.4.0.RELEASE")
}
}
apply plugin: 'java'
apply plugin: 'groovy'
apply plugin: 'application'
apply plugin: 'idea'
apply plugin: 'war'
apply plugin: 'spring-boot'
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
mavenCentral()
}
mainClassName = "org.tmp.enrollment.launcher.Launcher"
configurations {
compile.exclude module: "spring-boot-starter-tomcat"
}
dependencies {
// Spring-related
compile("org.springframework.boot:spring-boot-starter-web:1.4.0.RELEASE")
compile("org.springframework.boot:spring-boot-starter-jetty:1.4.0.RELEASE")
compile("org.springframework.boot:spring-boot-starter-test:1.4.0.RELEASE")
compile("org.springframework.data:spring-data-mongodb:1.9.2.RELEASE")
compile 'org.springframework.boot:spring-boot-starter-security:1.4.0.RELEASE'
// JDBC
compile group: 'org.mongodb', name: 'mongo-java-driver', version: '3.3.0'
// Tools
compile 'io.jsonwebtoken:jjwt:0.6.0'
compile 'com.fasterxml.jackson.core:jackson-core:2.8.3'
compile 'com.fasterxml.jackson.core:jackson-databind:2.8.3'
compile 'com.fasterxml.jackson.core:jackson-annotations:2.8.3'
compile 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.8.3'
compileOnly "org.projectlombok:lombok:1.16.10"
compile 'com.google.guava:guava:20.0'
// Test
testCompile group: 'junit', name: 'junit', version: '4.11'
testCompile group: 'org.spockframework', name: 'spock-core', version: '1.1-groovy-2.4-rc-3'
testCompile 'org.codehaus.groovy:groovy-all:2.4.7'
testCompile group: 'org.spockframework', name: 'spock-spring', version: '1.1-groovy-2.4-rc-3'
}
bootRepackage {
mainClass = 'org.tmp.enrollment.Launcher'
}