-
-
Notifications
You must be signed in to change notification settings - Fork 486
Expand file tree
/
Copy pathbuild.gradle
More file actions
64 lines (53 loc) · 1.71 KB
/
build.gradle
File metadata and controls
64 lines (53 loc) · 1.71 KB
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
buildscript {
repositories {
maven { url 'https://clojars.org/repo' }
mavenCentral()
mavenLocal()
}
dependencies {
classpath 'org.apache.commons:commons-lang3:3.19.0'
classpath 'org.clojure:clojure:1.11.4'
}
}
plugins {
id 'au.com.dius.pact.kotlin-library-conventions'
id "com.netflix.nebula.clojure" version "13.0.1"
}
description = 'Pact-JVM - Leiningen Provider test support library'
group = 'au.com.dius.pact.provider'
import org.apache.commons.lang3.RandomStringUtils
dependencies {
api project(":provider")
implementation 'org.clojure:clojure:1.11.4'
implementation 'org.clojure:core.match:1.1.0'
implementation 'org.clojure:core.rrb-vector:0.2.0'
implementation 'leiningen-core:leiningen-core:2.12.0'
implementation 'org.apache.maven:maven-aether-provider:3.3.9'
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'
implementation 'org.apache.groovy:groovy'
testImplementation 'org.clojure:tools.nrepl:0.2.13'
groovyDoc 'org.apache.groovy:groovy-all:4.0.26'
}
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
}
repositories {
maven {
url 'https://repo.clojars.org'
name 'Clojars'
}
}