forked from adessoSE/budgeteer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
53 lines (44 loc) · 1.23 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
import org.gradle.internal.jvm.Jvm
task wrapper(type: Wrapper) {
gradleVersion '4.6'
}
// alle Skripte aus ./gradle.d in sortierter Reihenfolge einbinden
file('gradle.d').listFiles().sort().each {
if (it =~ /.*\.gradle$/) {
apply from: relativePath(it)
}
}
allprojects {
version = getBuildVersion('1.0.9.BETA')
}
subprojects {
apply plugin: 'java'
apply plugin: 'jacoco'
repositories {
jcenter()
mavenLocal()
maven {
name "Apache Snapshots"
url "https://repository.apache.org/content/repositories/snapshots/"
}
maven {
url 'https://oss.jfrog.org/artifactory/oss-snapshot-local'
}
}
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.8'
targetCompatibility = '1.8'
}
jacocoTestReport {
reports {
xml.enabled false
csv.enabled false
html.destination "${buildDir}/jacocoHtml"
}
}
}