-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
51 lines (33 loc) · 918 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
47
48
49
50
apply plugin: 'groovy'
apply plugin: 'idea'
apply plugin: 'application'
mainClassName="lv.neueda.homework.Main"
task wrapper(type: Wrapper) {
gradleVersion = '1.9'
}
run {
if (project.hasProperty("arg")) {
args arg
}
}
configurations.all {
exclude group: 'org.codehaus.groovy', module: 'groovy'
resolutionStrategy {
failOnVersionConflict()
force 'org.codehaus.groovy:groovy-all:2.2.0-rc-3'
force 'org.hamcrest:hamcrest-core:1.3'
force 'commons-lang:commons-lang:2.4'
}
}
repositories {
mavenCentral()
maven {
url "http://repo.spring.service/milestone"
}
}
dependencies {
compile 'org.codehaus.groovy:groovy-all:2.2.0-rc-3'
compile 'org.spockframework:spock-core:0.7-groovy-2.0'
compile 'org.codehaus.groovy.modules.http-builder:http-builder:0.6'
runtime 'org.codehaus.groovy:groovy-all:2.2.0-rc-3'
}