-
Notifications
You must be signed in to change notification settings - Fork 1.3k
/
build.gradle
67 lines (47 loc) · 2.11 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
apply plugin: FtgoServicePlugin
// apply plugin: 'spring-cloud-contract'
apply plugin: 'docker-compose'
apply plugin: IntegrationTestsPlugin
apply plugin: ComponentTestsPlugin
apply plugin: FtgoJSONSchema2PojoPlugin
dependencies {
ftgoApiSpecification project(":ftgo-restaurant-service-api-spec")
compile project(":ftgo-delivery-service-api")
compile project(":ftgo-kitchen-service-api")
compile project(":ftgo-restaurant-service-api")
compile project(":ftgo-order-service-api")
compile project(":ftgo-common")
compile project(":ftgo-common-jpa")
compile project(":common-swagger")
compile "io.eventuate.tram.core:eventuate-tram-spring-events:$eventuateTramVersion"
compile "org.springframework.boot:spring-boot-starter-data-jpa:$springBootVersion"
compile "io.eventuate.tram.core:eventuate-tram-spring-jdbc-kafka:$eventuateTramVersion"
compile "org.springframework.boot:spring-boot-starter-actuator:$springBootVersion"
compile "io.micrometer:micrometer-registry-prometheus:$micrometerVersion"
compile('org.apache.kafka:kafka-clients:2.3.0') {
force = true
}
testCompile "org.springframework.boot:spring-boot-starter-test:$springBootVersion"
testCompile "io.eventuate.tram.core:eventuate-tram-spring-in-memory:$eventuateTramVersion"
testCompile "io.eventuate.util:eventuate-util-test:$eventuateUtilVersion"
componentTestCompile "com.jayway.restassured:rest-assured:$restAssuredVersion"
componentTestCompile "com.jayway.jsonpath:json-path:2.3.0"
componentTestCompile "org.hamcrest:hamcrest:2.1"
}
dockerCompose {
componentTests {
startedServices = [ 'ftgo-delivery-service']
stopContainers = true
}
}
componentTestsComposeUp.dependsOn(assemble)
dockerCompose.componentTests.isRequiredBy(componentTest)
ftgoJsonSchema2Pojo {
ftgoRestaurantService {
source = files("${ftgoApiSpecsDir}/ftgo-restaurant-service-api-spec/messages")
targetPackage = "net.chrisrichardson.ftgo.restaurantservice.events"
includeAdditionalProperties = false
generateBuilders = true
useLongIntegers = true
}
}