forked from ebi-ait/ingest-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
119 lines (98 loc) · 3.98 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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
import org.gradle.api.tasks.testing.logging.TestExceptionFormat
plugins {
id 'org.springframework.boot' version '2.1.6.RELEASE'
id 'java'
}
apply plugin: 'io.spring.dependency-management'
group = 'com.example'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '11'
repositories {
mavenCentral()
}
sourceSets {
integration {
compileClasspath += sourceSets.main.output
runtimeClasspath += sourceSets.main.output
}
}
configurations {
compileOnly {
extendsFrom annotationProcessor
}
integrationImplementation.extendsFrom testImplementation
integrationRuntimeOnly.extendsFrom testRuntimeOnly
}
task integrationTest(type: Test) {
useJUnitPlatform()
testClassesDirs = sourceSets.integration.output.classesDirs
classpath = sourceSets.integration.runtimeClasspath
}
test {
useJUnitPlatform()
}
task verify {
dependsOn test
dependsOn integrationTest
integrationTest.mustRunAfter test
}
tasks.withType(Test) {
testLogging {
showStackTraces = true
exceptionFormat = TestExceptionFormat.FULL
}
}
dependencies {
['actuator', 'data-rest', 'hateoas', 'security', 'web', 'webflux'].forEach {
implementation "org.springframework.boot:spring-boot-starter-${it}"
}
implementation('org.springframework.boot:spring-boot-starter-amqp') {
exclude group: 'org.springframework.retry', module: 'spring-retry'
}
implementation('org.springframework.boot:spring-boot-starter-data-mongodb') {
exclude group: 'org.mongodb', module: 'mongodb-driver'
}
implementation 'org.springframework.data:spring-data-rest-hal-browser'
implementation('org.springframework.retry:spring-retry:1.3.0') {
exclude group: 'org.springframework', module: 'spring-core'
}
implementation 'org.apache.httpcomponents:httpcore'
implementation 'org.apache.httpcomponents:httpmime'
implementation 'com.fasterxml.jackson.core:jackson-core:2.10.0.pr3'
implementation 'com.fasterxml.jackson.core:jackson-databind:2.10.0.pr3'
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.10.0.pr3'
implementation 'com.fasterxml.jackson.dataformat:jackson-dataformat-xml'
implementation 'com.flipkart.zjsonpatch:zjsonpatch:0.4.8'
implementation 'com.auth0:auth0-spring-security-api:1.2.5'
implementation 'com.auth0:java-jwt:3.8.2'
implementation 'com.auth0:jwks-rsa:0.8.3'
implementation 'javax.mail:mail:1.4.1'
implementation 'org.jolokia:jolokia-core'
implementation 'org.zalando:problem:0.23.0'
implementation 'org.mongodb:mongo-java-driver:3.11.2'
implementation('com.github.mongobee:mongobee:0.13') {
exclude group: 'org.mongodb', module: 'mongo-java-driver'
}
compile 'org.projectreactor:reactor-spring:1.0.1.RELEASE'
compile 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
testImplementation 'org.springframework.security:spring-security-test'
testImplementation('org.springframework.boot:spring-boot-starter-test') {
exclude group: 'org.assertj', module: 'assertj-core'
exclude group: 'junit', module: 'junit'
exclude group: 'org.mockito', module: 'mockito-core'
}
testImplementation 'org.assertj:assertj-core:3.10.0'
testImplementation 'org.springframework.restdocs:spring-restdocs-mockmvc'
testImplementation 'com.github.tomakehurst:wiremock-standalone:2.14.0'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.3.1'
testImplementation('org.mockito:mockito-junit-jupiter:3.0.0') {
exclude group: 'org.mockito', module: 'mockito-core'
}
testImplementation 'org.mockito:mockito-core:3.0.0'
testImplementation("com.squareup.okhttp3:mockwebserver:4.4.0")
testImplementation("com.squareup.okhttp3:okhttp:4.4.0")
testImplementation("org.jetbrains.kotlin:kotlin-stdlib:1.3.61")
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.3.1'
integrationRuntimeOnly 'de.flapdoodle.embed:de.flapdoodle.embed.mongo:2.2.0'
}