-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
54 lines (47 loc) · 1.07 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
buildscript {
repositories {
mavenRepo name: 'clojars', url: 'http://clojars.org/repo'
}
dependencies {
classpath 'org.clojars.myfreeweb.clojuresque:clojuresque:1.5.0-SNAPSHOT'
}
}
allprojects {
group = 'floatboth'
version = '1.0.0'
apply plugin: 'clojure'
repositories {
mavenCentral()
clojarsRepo()
}
}
subprojects {
dependencies {
compile 'org.clojure:clojure:1.5.0'
testCompile 'midje:midje:1.3.1'
}
}
project(':clojure')
// Aggregated documentation
dependencies {
// clojuresque doesn't include clojure
// subprojects documentation somehow works w/ compile dep
clojuresque 'org.clojure:clojure:1.5.0'
}
clojuredoc.configure {
destinationDir = new File('autodoc')
// Allows subprojects which depend on others to work
clojureRoots = subprojects.first().sourceSets.main.clojure
// Source files list
source = files {
subprojects.collect {
it.sourceSets.main.clojure
}
}
compileClasspath = files {
subprojects.collect {
it.sourceSets.main.compileClasspath
}
}
excludeNamespace('clojure*')
}