forked from pact-foundation/pact-jvm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
56 lines (47 loc) · 1.68 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
buildscript {
repositories {
mavenCentral()
mavenLocal()
}
dependencies {
classpath 'org.apache.commons:commons-lang3:3.10'
classpath 'org.clojure:clojure:1.10.1'
}
}
plugins {
id "nebula.clojure" version "9.4.1"
}
import org.apache.commons.lang3.RandomStringUtils
dependencies {
api project(":provider")
implementation 'org.clojure:clojure:1.10.1'
implementation 'org.clojure:core.match:1.0.0'
implementation 'org.clojure:core.rrb-vector:0.1.1'
implementation 'leiningen-core:leiningen-core:2.9.4'
implementation 'org.apache.maven:maven-aether-provider:3.0.5'
implementation 'org.sonatype.aether:aether-connector-file:1.13.1'
implementation 'org.sonatype.aether:aether-connector-wagon:1.13.1'
implementation "org.apache.httpcomponents.client5:httpclient5:${project.httpClientVersion}"
implementation "org.codehaus.groovy:groovy:${project.groovyVersion}"
testImplementation 'org.clojure:tools.nrepl:0.2.13'
testRuntimeOnly "org.junit.vintage:junit-vintage-engine:${project.junit5Version}"
testImplementation('org.spockframework:spock-core:2.0-groovy-3.0') {
exclude group: 'org.codehaus.groovy'
}
groovyDoc "org.codehaus.groovy:groovy-all:${project.groovyVersion}"
}
clojure.aotCompile = true
clojureTest.junit = true
clojureRepl.port = '7888'
compileClojure {
dependsOn compileGroovy
classpath = classpath.plus(files(compileGroovy.destinationDir))
destinationDir = file("${project.buildDir}/classes/java/main")
}
clojureTest {
classpath = classpath.plus(files(compileGroovy.destinationDir))
junitOutputDir = file("$buildDir/test-results/clojure/" + RandomStringUtils.randomAlphanumeric(6))
}
processResources {
expand project.properties
}