-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
41 lines (34 loc) · 977 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
group 'com.animesh.chutesandladders'
version '1.0-SNAPSHOT'
apply plugin: 'java'
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
ext{
//spring libs
springVersion = '4.3.3.RELEASE'
//logging libs
logbackVersion = '1.1.7'
slf4jVersion = '1.7.21'
}
dependencies {
//testing libs
testCompile("junit:junit:4.12")
testCompile("org.hamcrest:hamcrest-all:1.3")
//logging libs
compile("org.slf4j:slf4j-api:$slf4jVersion")
compile("ch.qos.logback:logback-classic:$logbackVersion")
//spring libs
compile("org.springframework:spring-core:$springVersion")
compile("org.springframework:spring-beans:$springVersion")
compile("org.springframework:spring-context:$springVersion")
}
jar {
manifest {
attributes (
'Class-Path': configurations.compile.collect{"./libs/"+it.name}.join(' '),
'Main-Class': 'com.animesh.chutesladders.CommandLineGameRunner'
)
}
}