forked from dhensen/hack-man-engine
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
47 lines (38 loc) · 961 Bytes
/
build.gradle
File metadata and controls
47 lines (38 loc) · 961 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
45
46
47
group 'io.riddles'
version '2.0.3'
apply plugin: 'groovy'
apply plugin: 'java'
apply plugin: 'application'
sourceCompatibility = 1.8
mainClassName = 'io.riddles.bookinggame.BookingGame'
sourceSets {
main {
java {
srcDir 'src/java'
}
}
test {
groovy {
srcDir 'test/groovy'
}
}
}
jar {
manifest {
attributes 'Implementation-Title': 'Riddles.io Booking Game Engine',
'Implementation-Version': version,
'Main-Class': mainClassName
}
from {
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
}
}
repositories {
mavenCentral()
}
dependencies {
compile group: 'org.json', name: 'json', version: '20160212'
testCompile 'org.codehaus.groovy:groovy-all:2.4.1'
testCompile "org.spockframework:spock-core:1.0-groovy-2.4"
testCompile group: 'cglib', name: 'cglib-nodep', version: '3.2.2'
}