forked from adessoSE/budgeteer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
49 lines (41 loc) · 1.2 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
import org.gradle.internal.jvm.Jvm
task wrapper(type: Wrapper) {
gradleVersion '3.3'
}
allprojects {
version = '1.0.5.TESTING'
}
// alle Skripte aus ./gradle.d in sortierter Reihenfolge einbinden
file('gradle.d').listFiles().sort().each {
if (it =~ /.*\.gradle$/) {
apply from: relativePath(it)
}
}
subprojects {
apply plugin: 'java'
apply plugin: 'jacoco'
repositories {
mavenCentral()
maven {
name "Apache Snapshots"
url "https://repository.apache.org/content/repositories/snapshots/"
}
}
dependencies {
testCompile group: 'junit', name: 'junit', version: junit_version
testCompile group: 'org.springframework', name: 'spring-test', version: spring_version
testCompile group: 'org.mockito', name: 'mockito-core', version: mockito_version
}
compileJava {
sourceCompatibility = '1.7'
targetCompatibility = '1.7'
compileJava.options.bootClasspath = "${Jvm.current().javaHome}/jre/lib/rt.jar"
}
jacocoTestReport {
reports {
xml.enabled false
csv.enabled false
html.destination "${buildDir}/jacocoHtml"
}
}
}