-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsettings.gradle
30 lines (25 loc) · 1.11 KB
/
settings.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
include ":nfc:wrapper", ":nfc:wrapper-utils", ":nfc:core", ":nfc:external", ":utilities:tcp-server-java-lib", ":nfc:external-acs", ":nfc:external-minova"
include "utilities:websocket-messages-java-lib", "nfc:external-websocket", "utilities:websocket-server-java-lib", "utilities:websocket-client-java-lib"
include ":examples:nfc-reader-android-app", "examples:nfc-websocket-server-java-app"
// automatically set jacoco report paths in folders with a build file, excluding root
def findJacocoReports(parentProject, reports) {
parentProject.children.each { project ->
if(new File(project.projectDir, 'build.gradle').exists()) {
boolean empty = reports.isEmpty();
if(!reports.isEmpty()) {
reports += ","
}
reports += project.projectDir.getAbsolutePath() + "/build/jacoco/jacoco.xml"
}
findJacocoReports(project, reports)
}
return reports;
}
gradle.ext.xmlReportPaths = findJacocoReports(rootProject, "")
buildCache {
local {
directory = new File(rootDir, 'build-cache')
removeUnusedEntriesAfterDays = 1
}
}
include ':utilities:example'