forked from pact-foundation/pact-jvm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
32 lines (27 loc) · 956 Bytes
/
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
dependencies {
compile project(":pact-jvm-model"), project(":pact-jvm-pact-broker"),
project(":pact-jvm-matchers_${project.scalaVersion}"),
'commons-io:commons-io:2.5',
"org.fusesource.jansi:jansi:${project.jansiVersion}",
"org.apache.httpcomponents:httpclient:${project.httpClientVersion}",
'org.reflections:reflections:0.9.10'
compile 'org.scala-lang.modules:scala-java8-compat_2.12:0.8.0'
testCompile project(":pact-jvm-consumer-groovy_${project.scalaVersion}")
testCompile "ch.qos.logback:logback-classic:${project.logbackVersion}"
}
compileGroovy {
classpath = classpath.plus(files(compileKotlin.destinationDir))
dependsOn compileKotlin
}
compileTestGroovy {
dependsOn compileTestScala
classpath = classpath.plus(files(compileTestScala.destinationDir))
}
test {
systemProperties['pact.rootDir'] = "$buildDir/pacts"
}
compileKotlin {
kotlinOptions {
apiVersion = "1.1"
}
}