-
Notifications
You must be signed in to change notification settings - Fork 1.3k
/
build.gradle
76 lines (57 loc) · 2.8 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
apply plugin: FtgoServicePlugin
apply plugin: IntegrationTestsPlugin
apply plugin: 'spring-cloud-contract'
contracts {
contractsDslDir = new File("../ftgo-restaurant-service-contracts/src/main/resources/contracts")
packageWithBaseClasses = 'net.chrisrichardson.ftgo.restaurantservice.contract'
generatedTestSourcesDir = project.file("${project.buildDir}/generated-integration-test-sources/contracts")
sourceSet = "integrationTest"
}
sourceSets {
integrationTest {
java {
srcDir project.file("${project.buildDir}/generated-integration-test-sources/contracts")
}
}
}
compileTestGroovy.enabled=false
dependencyManagement {
imports {
mavenBom "org.springframework.cloud:spring-cloud-contract-dependencies:$springCloudContractDependenciesVersion"
}
}
configurations.all {
// Out of date, conflicting JSON library
exclude group: "com.vaadin.external.google"
}
dependencies {
compile "io.eventuate.tram.core:eventuate-tram-spring-jdbc-kafka"
compile "io.eventuate.tram.core:eventuate-tram-spring-events"
compile "io.eventuate.tram.core:eventuate-tram-spring-messaging"
compile "io.eventuate.tram.sagas:eventuate-tram-sagas-spring-orchestration-simple-dsl"
compile "io.eventuate.tram.core:eventuate-tram-aggregate-domain-events"
compile project(":common-swagger")
compile project(":ftgo-restaurant-service-api")
compile project(":ftgo-restaurant-service-api-spec")
compile project(":ftgo-common-jpa")
compile project(":ftgo-common")
compile "org.springframework.boot:spring-boot-starter-data-jpa:$springBootVersion"
compile "org.springframework.boot:spring-boot-starter-web:$springBootVersion"
compile "org.springframework.boot:spring-boot-starter-actuator:$springBootVersion"
compile 'javax.el:javax.el-api:2.2.5'
compile('org.apache.kafka:kafka-clients:2.3.0') {
force = true
}
testCompile "io.eventuate.util:eventuate-util-test"
testCompile "io.eventuate.tram.core:eventuate-tram-test-util"
testCompile "io.eventuate.tram.sagas:eventuate-tram-sagas-spring-in-memory"
testCompile "org.springframework.boot:spring-boot-starter-test:$springBootVersion"
testCompile "com.jayway.restassured:rest-assured:$restAssuredVersion"
testCompile "com.jayway.jsonpath:json-path:2.3.0"
testCompile "io.eventuate.tram.core:eventuate-tram-spring-testing-support-cloud-contract"
testCompile project(":ftgo-test-util-json-schema")
integrationTestCompile "org.springframework.cloud:spring-cloud-contract-wiremock"
integrationTestCompile "org.springframework.cloud:spring-cloud-starter-contract-stub-runner"
integrationTestCompile "io.eventuate.tram.sagas:eventuate-tram-sagas-spring-testing-support"
integrationTestCompile "io.eventuate.tram.core:eventuate-tram-spring-in-memory"
}