forked from microservices-patterns/ftgo-application
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
71 lines (53 loc) · 2.83 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
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-jdbc-kafka:$eventuateTramVersion"
compile "io.eventuate.tram.core:eventuate-tram-events:$eventuateTramVersion"
compile "io.eventuate.tram.sagas:eventuate-tram-sagas-simple-dsl:$eventuateTramSagasVersion"
compile "io.eventuate.tram.core:eventuate-tram-aggregate-domain-events:$eventuateTramVersion"
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'
testCompile "io.eventuate.util:eventuate-util-test:$eventuateUtilVersion"
testCompile "io.eventuate.tram.core:eventuate-tram-test-util:$eventuateTramVersion"
testCompile "io.eventuate.tram.sagas:eventuate-tram-sagas-in-memory:$eventuateTramSagasVersion"
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-testing-support-spring-cloud-contract:$eventuateTramVersion"
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-testing-support:$eventuateTramSagasVersion"
integrationTestCompile "io.eventuate.tram.core:eventuate-tram-in-memory:$eventuateTramVersion"
}