-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
93 lines (80 loc) · 2.77 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
apply plugin: 'java'
apply plugin: 'maven'
apply plugin: "groovy"
apply plugin: 'idea'
group = 'de.benjitrapp.gpssimulator'
version = '1.0.0-SNAPSHOT'
sourceCompatibility = 1.11
targetCompatibility = 1.11
repositories {
jcenter()
mavenCentral()
//maven { url "http://repo.maven.apache.org/maven2" }
}
idea {
project {
languageLevel = '1.8'
}
module {
// https://gradle.org/docs/current/dsl/org.gradle.plugins.ide.idea.model.IdeaModule.html
inheritOutputDirs = false
outputDir = file('../out/production/' + module.name)
testOutputDir = file('../out/test/' + module.name)
}
}
sourceSets {
main {
java {
srcDir 'src/'
}
resources {
srcDir 'src/resources'
}
}
test {
java {
srcDir 'test/'
}
resources {
srcDir 'test/resources'
}
}
}
dependencies {
compile(
'org.slf4j:slf4j-api:1.7.25',
'org.slf4j:slf4j-log4j12:1.7.25',
'log4j:log4j:1.2.17',
'com.google.guava:guava:20.0',
'org.apache.commons:commons-lang3:3.4',
'commons-io:commons-io:2.4',
'org.rxtx:rxtx:2.1.7',
'org.pitest:pitest:1.1.11',
'org.jboss.byteman:byteman-bmunit:4.0.0-BETA1',
'org.jboss.byteman:byteman:4.0.0-BETA1',
'org.codehaus.groovy:groovy-all:2.4.10'
)
testCompile(
'junit:junit:4.12',
'org.codehaus.groovy:groovy-all:2.4.11',
)
compile group: 'com.google.guava', name: 'guava', version: '20.0'
compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.4'
compile group: 'commons-io', name: 'commons-io', version: '2.4'
compile group: 'org.rxtx', name: 'rxtx', version: '2.1.7'
/* Fault Injection & Mutation Testing*/
compile group: 'org.pitest', name: 'pitest', version: '1.1.11'
compile group: 'org.jboss.byteman', name: 'byteman-bmunit', version: '4.0.0-BETA1'
compile group: 'org.jboss.byteman', name: 'byteman', version: '4.0.0-BETA1'
compile 'com.intellij:annotations:+@jar'
testCompile group: 'org.assertj', name: 'assertj-swing-junit', version: '3.5.0'
// mandatory dependencies for using Spock
compile "org.codehaus.groovy:groovy-all:2.4.10"
testCompile "org.spockframework:spock-core:1.1-groovy-2.4"
testRuntime "net.bytebuddy:byte-buddy:1.6.5"
testRuntime "org.objenesis:objenesis:2.5.1"
testCompile('com.athaydes:spock-reports:1.3.1') {
transitive = false // this avoids affecting the version of Groovy/Spock
}
testCompile group: 'org.hamcrest', name: 'hamcrest-all', version: '1.3'
}