-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
31 lines (24 loc) · 785 Bytes
/
build.gradle
File metadata and controls
31 lines (24 loc) · 785 Bytes
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
subprojects {
apply plugin: 'java'
repositories {
mavenLocal()
mavenCentral()
jcenter()
}
dependencies {
compile 'org.slf4j:slf4j-api:1.7.22'
testCompile 'junit:junit:4.12'
testCompile 'org.mockito:mockito-core:2.18.0'
testCompile 'org.hamcrest:hamcrest-integration:1.3'
}
}
task copyPactToDropwizard(type: Copy) {
from "${project(':consumer').buildDir}/pacts"
into "${project(':providers:dropwizard-provider').buildDir}/pacts"
}
task copyPactToSpringboot(type: Copy) {
from "${project(':consumer').buildDir}/pacts"
into "${project(':providers:springboot-provider').buildDir}/pacts"
}
task publishWorkshopPact(dependsOn: [copyPactToDropwizard, copyPactToSpringboot],
description: 'Publish the pact file to the provider projects')