-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
45 lines (36 loc) · 993 Bytes
/
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
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:1.2.2.RELEASE")
}
}
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'idea'
apply plugin: 'spring-boot'
apply plugin: 'application'
mainClassName = 'vote.Application'
jar {
baseName = 'myvote'
version = '0.1.0'
}
repositories {
mavenCentral()
}
dependencies {
compile("org.springframework.boot:spring-boot-starter-web")
compile("org.springframework.boot:spring-boot-starter-data-mongodb")
testCompile("junit:junit")
//compile "joda-time:joda-time:2.4"
compile("org.springframework.boot:spring-boot-starter-security")
compile 'org.apache.kafka:kafka_2.11:0.8.2.1'
compile 'org.springframework:spring-context-support:4.1.5.RELEASE'
}
configurations {
compile.exclude group: 'org.slf4j', module: 'slf4j-log4j12'
}
task wrapper(type: Wrapper) {
gradleVersion = '2.2.1'
}