-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
44 lines (35 loc) · 797 Bytes
/
Copy pathbuild.gradle
File metadata and controls
44 lines (35 loc) · 797 Bytes
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
apply plugin: 'java'
defaultTasks ':runtime:jar', ':task:jar'
subprojects {
apply plugin: 'java'
repositories {
mavenCentral()
}
}
project(':runtime') {
dependencies {
compile project(':lib')
compile 'commons-cli:commons-cli:1.3.1'
}
jar {
manifest {
attributes 'Main-Class': 'dDCF.runtime.main'
}
from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
}
}
project(':lib') {
dependencies {
}
jar {
from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
}
}
project(':task') {
dependencies {
compile project(':lib')
}
jar {
from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
}
}