-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbuild.gradle
More file actions
43 lines (34 loc) · 1.37 KB
/
build.gradle
File metadata and controls
43 lines (34 loc) · 1.37 KB
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
/*
* Copyright (C) 2017. The UAPI Authors
* You may not use this file except in compliance with the License.
* You may obtain a copy of the License at the LICENSE file.
*
* You must gained the permission from the authors if you want to
* use the project into a commercial product
*/
ext {
thisRepo = 'facility'
}
apply from: '.config/uapi/all.config.gradle'
apply from: '.config/uapi/base.config.gradle'
apply from: '.config/uapi/cornerstone.config.gradle'
apply from: '.config/uapi/facility.config.gradle'
apply from: '.config/uapi/functions.gradle'
apply plugin: 'jacoco'
apply from: '.config/uapi/sub.config.gradle'
def publishedProjects = subprojects.findAll { it.path != ':uapi.example' }
task jacocoRootReport(type: JacocoReport, group: 'Coverage reports') {
description = 'Generates an aggregate report from all subprojects'
dependsOn(publishedProjects.test)
getAdditionalSourceDirs().from(files(publishedProjects.sourceSets.main.allSource.srcDirs))
getSourceDirectories().from(publishedProjects.sourceSets.main.allSource.srcDirs)
getClassDirectories().from(publishedProjects.sourceSets.main.output)
getExecutionData().from(files(subprojects.jacocoTestReport.executionData).filter { f -> f.exists() })
reports {
html.enabled = true // human readable
xml.enabled = true // required by coveralls
}
}
configurations {
codacy
}