/
build.gradle
69 lines (53 loc) · 1.4 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
buildscript {
repositories {
mavenCentral()
mavenLocal()
}
dependencies {
classpath 'org.springframework.boot:spring-boot-gradle-plugin:1.5.1.RELEASE'
}
}
repositories {
mavenCentral()
mavenLocal()
}
group 'juja'
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'org.springframework.boot'
jar {
baseName = "gamification-slack-bot"
version = "0.1.0"
}
description = "gamification-slack-bot"
sourceCompatibility = 1.8
targetCompatibility = 1.8
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
test.testLogging {
events "skipped", "failed"
exceptionFormat "SHORT"
showStandardStreams = true
}
test {
filter{
includeTestsMatching "juja.microservices.gamification.slackbot.*"
}
afterTest { desc, result ->
println "Executing test ${desc.name} [${desc.className}] with result: ${result.resultType}"
}
}
dependencies {
compile 'org.springframework.boot:spring-boot-starter'
compile 'org.springframework:spring-web'
compile 'org.apache.httpcomponents:httpclient:4.5.3'
compile 'javax.inject:javax.inject:1'
compile 'org.projectlombok:lombok:1.16.10'
compile 'me.ramswaroop.jbot:jbot:3.0.2'
testCompile 'org.springframework.boot:spring-boot-starter-test'
testCompile 'net.javacrumbs.json-unit:json-unit-fluent:1.19.0'
}
task wrapper(type: Wrapper) {
gradleVersion = '3.3'
}