/
build.gradle
101 lines (86 loc) · 3.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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
buildscript {
dependencies {
classpath "org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}"
classpath 'org.yaml:snakeyaml:1.21'
classpath 'org.owasp:dependency-check-gradle:3.3.2'
}
}
apply plugin: 'groovy'
apply plugin: 'eclipse'
apply plugin: 'project-report'
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'
apply plugin: 'org.owasp.dependencycheck'
group 'org.zalando'
sourceCompatibility = 1.8
targetCompatibility = 1.8
configurations {
all*.exclude module: 'spring-boot-starter-logging'
}
dependencies {
ext {
dropwizardVersion = '3.1.3'
curatorVersion = '4.2.0'
zookeeperVersion = '3.4.14'
jacksonVersion = '2.9.8'
springFrameworkVersion = '4.3.23.RELEASE'
}
// Override spring-boot BOM versions
ext['json.version'] = '20180130'
ext['json-path'] = '2.4.0'
ext['jsonassert'] = '1.5.0'
implementation project(':core-common')
implementation project(':core-services')
// spring
compile("org.springframework.boot:spring-boot-starter-web") {
exclude module: 'logback-classic'
exclude module: 'log4j-over-slf4j'
exclude module: 'spring-boot-starter-tomcat'
}
// oauth
compile('org.springframework.security.oauth:spring-security-oauth2:2.3.5.RELEASE') {
exclude module: 'spring-beans'
exclude module: 'spring-core'
exclude module: 'spring-context'
}
compile('org.springframework.boot:spring-boot-starter-security') {
exclude module: "logback-classic"
}
compile 'org.zalando:nakadi-plugin-api:3.2.1'
compile 'com.google.guava:guava:27.1-jre'
compile 'org.apache.commons:commons-lang3:3.8.1'
compile("com.fasterxml.jackson.datatype:jackson-datatype-json-org:$jacksonVersion") {
exclude module: "json"
}
compile "com.fasterxml.jackson.core:jackson-annotations:$jacksonVersion"
compile "com.fasterxml.jackson.core:jackson-core:$jacksonVersion"
compile "com.fasterxml.jackson.core:jackson-databind:$jacksonVersion"
compile "com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:$jacksonVersion"
compile "com.fasterxml.jackson.datatype:jackson-datatype-jdk8:$jacksonVersion"
compile "com.fasterxml.jackson.datatype:jackson-datatype-joda:$jacksonVersion"
compile "com.fasterxml.jackson.module:jackson-module-afterburner:$jacksonVersion"
compile "com.fasterxml.jackson.module:jackson-module-scala_2.12:$jacksonVersion"
compile 'org.zalando:jackson-datatype-problem:0.22.0'
compile 'org.zalando:problem:0.22.0'
compile 'org.json:json:20180130'
compile 'org.slf4j:slf4j-log4j12'
// open tracing
compile 'io.opentracing:opentracing-api:0.31.0'
compile 'io.opentracing:opentracing-util:0.31.0'
compile("org.apache.curator:curator-recipes:$curatorVersion") {
exclude module: "zookeeper"
}
compile "org.apache.zookeeper:zookeeper:$zookeeperVersion"
// tests
testCompile 'org.hamcrest:hamcrest-all:1.3'
testCompile('org.junit.jupiter:junit-jupiter-api:5.5.2') {
exclude module: "hamcrest-core"
}
testCompile "org.springframework:spring-test"
testCompile 'org.springframework.boot:spring-boot-test'
testCompile 'org.springframework.boot:spring-boot-starter-test'
testCompile project(path: ':core-common', configuration: 'testOutput')
}
bootRepackage {
enabled = false
}