-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
45 lines (33 loc) · 1 KB
/
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
apply plugin: 'java'
apply plugin: 'groovy'
apply plugin: 'eclipse'
sourceCompatibility = 1.8
targetCompatibility = 1.8
version = '1.0'
jar {
manifest {
attributes 'Implementation-Title': 'Gradle Quickstart',
'Implementation-Version': version
}
}
repositories { mavenCentral() }
dependencies {
compile 'com.google.guava:guava:19.0'
compile 'org.slf4j:slf4j-api:1.7.+'
//compile 'org.slf4j:slf4j-simple:1.7.+'
compile 'ch.qos.logback:logback-classic:1.1.+'
testCompile 'org.hamcrest:java-hamcrest:2.0.0.0'
// We use the latest groovy 2.x version for Spock testing
testCompile 'org.codehaus.groovy:groovy-all:2.4.6'
// Use the awesome Spock testing and specification framework even with Java
testCompile 'org.spockframework:spock-core:1.0-groovy-2.4'
testCompile 'junit:junit:4.12'
}
test {
systemProperties 'property': 'value'
//testLogging { // Show that tests are run in the command-line output
// events 'started', 'passed' }
}
uploadArchives {
repositories { flatDir { dirs 'repos' } }
}