-
Notifications
You must be signed in to change notification settings - Fork 9
/
build.gradle
60 lines (50 loc) · 1.32 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
buildscript {
repositories {
maven { url "https://plugins.gradle.org/m2" }
}
dependencies {
classpath "com.netflix.nebula:nebula-clojure-plugin:4.0.2"
classpath "com.github.jengelman.gradle.plugins:shadow:1.2.3"
classpath "org.jfrog.buildinfo:build-info-extractor-gradle:4.1.0"
classpath "com.netflix.nebula:gradle-ospackage-plugin:4.1.0"
}
}
apply plugin: "nebula.clojure"
dependencies {
repositories {
maven { url "http://clojars.org/repo" }
mavenCentral()
mavenLocal()
}
compile 'org.clojure:clojure:1.8.0',
'org.onyxplatform:onyx:0.10.0-beta14',
'com.amazonaws:aws-java-sdk-s3:1.11.125',
'com.amazonaws:aws-java-sdk-core:1.11.125'
}
sourceSets {
main {
clojure {
srcDirs = ['src']
}
}
test {
clojure {
srcDirs = ['test']
}
}
}
compileClojure {
classpath = project.files(classpath, project.processResources.outputs)
}
clojureTest {
classpath = project.files(classpath, project.processTestResources.outputs)
classpath = project.files(classpath, project.processResources.outputs)
}
clojureTest {
junit = true
}
test.reports.junitXml.destination = "$buildDir/test-results"
jar {
from 'src'
}
tasks.uberjar.enabled = true