-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.gradle
46 lines (39 loc) · 950 Bytes
/
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
group 'com.toastcoders.vmware'
version '1.1'
apply plugin: 'groovy'
apply plugin:'application'
sourceCompatibility = 1.6
mainClassName = 'com.toastcoders.vmware.yavijava.Main'
repositories {
mavenCentral()
}
dependencies {
compile 'org.codehaus.groovy:groovy-all:2.3.11'
compile 'org.jsoup:jsoup:1.8.2'
compile 'log4j:log4j:1.2.17'
compile 'commons-cli:commons-cli:1.2'
testCompile group: 'junit', name: 'junit', version: '4.12'
}
sourceSets {
main {
java {
}
groovy {
}
}
test {
java {
}
groovy {
}
}
}
task fatJar(type: Jar) {
manifest {
attributes 'Implementation-Title': 'yavijava code generator',
'Implementation-Version': version,
'Main-Class': 'com.toastcoders.vmware.yavijava.Main'
}
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
with jar
}