-
Notifications
You must be signed in to change notification settings - Fork 4
/
build.gradle
48 lines (38 loc) · 1.07 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
ext {
springBootVersion = '2.2.1.RELEASE'
}
repositories {
mavenCentral()
jcenter()
}
apply from: "${rootDir}/gradle/banner.gradle"
apply from: "${rootDir}/gradle/envInfo.gradle"
repositories {
mavenCentral()
}
// start - check early and fail on dependency resolution during configuration
def afterEvaluation = false
gradle.projectsEvaluated {
afterEvaluation = true
}
allprojects { project ->
configurations.all { configuration ->
configuration.incoming.beforeResolve {
if (!afterEvaluation) {
logger.warn("Configuration $configuration.name of project $project.name is being resolved at configuration time.")
}
}
}
}
// end - check early and fail on dependency resolution during configuration
version = '0.1'
task testReport(type: TestReport, group: 'Build') {
description = 'Generates an aggregate test report'
destinationDir = file("${buildDir}/reports/allTests")
}
allprojects {
apply plugin: 'jacoco'
apply plugin: 'project-report'
}
apply from: "${rootDir}/gradle/subProjects.gradle"
apply from: "${rootDir}/gradle/deploy.gradle"