forked from pact-foundation/pact-jvm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
62 lines (55 loc) · 2.21 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
buildscript {
repositories {
jcenter()
mavenCentral()
mavenLocal()
}
dependencies {
classpath 'org.apache.commons:commons-lang3:3.10'
}
}
plugins {
id "nebula.clojure" version "9.4.1"
}
import org.apache.commons.lang3.RandomStringUtils
dependencies {
compile project(path: ":consumer", configuration: 'default')
compile "junit:junit:${project.junitVersion}",
"org.json:json:${project.jsonVersion}",
"org.apache.commons:commons-lang3:${project.commonsLang3Version}",
"com.google.guava:guava:${project.guavaVersion}"
testCompile "ch.qos.logback:logback-core:${project.logbackVersion}",
"ch.qos.logback:logback-classic:${project.logbackVersion}",
'org.apache.commons:commons-collections4:4.1',
"com.google.code.gson:gson:${project.gsonVersion}",
"org.apache.httpcomponents:fluent-hc:${project.httpClientVersion}",
"org.apache.httpcomponents:httpclient:${project.httpClientVersion}"
testCompile('com.jayway.restassured:rest-assured:2.9.0') {
exclude group: 'org.codehaus.groovy'
}
testCompile "org.codehaus.groovy:groovy:${project.groovyVersion}"
testCompile "org.codehaus.groovy:groovy-json:${project.groovyVersion}"
testCompile "org.codehaus.groovy:groovy-xml:${project.groovyVersion}"
testCompile "io.github.http-builder-ng:http-builder-ng-apache:${project.httpBuilderVersion}"
// Required for Java 9
testCompile 'javax.xml.bind:jaxb-api:2.3.0'
testRuntime "org.junit.vintage:junit-vintage-engine:${project.junit5Version}"
testCompile('org.spockframework:spock-core:2.0-M4-groovy-3.0') {
exclude group: 'org.codehaus.groovy'
}
testRuntime "net.bytebuddy:byte-buddy:${project.bytebuddyVersion}"
testRuntime 'org.objenesis:objenesis:3.1'
testCompile 'com.fasterxml.jackson.core:jackson-databind:2.11.0.rc1'
testCompile 'org.clojure:clojure:1.10.1',
'http-kit:http-kit:2.3.0'
testCompile 'javax.xml.bind:jaxb-api:2.3.0'
testCompile 'javax.activation:activation:1.1'
testCompile 'org.glassfish.jaxb:jaxb-runtime:2.3.0'
}
clojureTest {
junit = true
junitOutputDir = file("$buildDir/test-results/clojure/" + RandomStringUtils.randomAlphanumeric(6))
clojureTest.dependsOn 'testClasses'
}
clojure.aotCompile = true
//clojureRepl.port = '7888'