-
Notifications
You must be signed in to change notification settings - Fork 623
/
build.gradle
67 lines (62 loc) · 2.6 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
plugins {
id "base"
id "jacoco-report-aggregation"
}
repositories {
mavenCentral()
}
dependencies {
jacocoAggregation project(":api")
jacocoAggregation project(":basicdataset")
jacocoAggregation project(":engines:ml:xgboost")
jacocoAggregation project(":engines:ml:lightgbm")
jacocoAggregation project(":engines:mxnet:mxnet-engine")
jacocoAggregation project(":engines:mxnet:mxnet-model-zoo")
jacocoAggregation project(":engines:mxnet:native")
jacocoAggregation project(":engines:onnxruntime:onnxruntime-android")
jacocoAggregation project(":engines:onnxruntime:onnxruntime-engine")
jacocoAggregation project(":engines:paddlepaddle:paddlepaddle-engine")
jacocoAggregation project(":engines:paddlepaddle:paddlepaddle-model-zoo")
jacocoAggregation project(":engines:paddlepaddle:paddlepaddle-native")
jacocoAggregation project(":engines:pytorch:pytorch-engine")
jacocoAggregation project(":engines:pytorch:pytorch-jni")
jacocoAggregation project(":engines:pytorch:pytorch-model-zoo")
jacocoAggregation project(":engines:pytorch:pytorch-native")
jacocoAggregation project(":engines:tensorflow:tensorflow-api")
jacocoAggregation project(":engines:tensorflow:tensorflow-engine")
jacocoAggregation project(":engines:tensorflow:tensorflow-model-zoo")
jacocoAggregation project(":engines:tensorflow:tensorflow-native")
jacocoAggregation project(":engines:tflite:tflite-engine")
jacocoAggregation project(":engines:tflite:tflite-native")
jacocoAggregation project(":examples")
jacocoAggregation project(":extensions:audio")
jacocoAggregation project(":extensions:fasttext")
jacocoAggregation project(":extensions:hadoop")
jacocoAggregation project(":extensions:opencv")
jacocoAggregation project(":extensions:sentencepiece")
jacocoAggregation project(":extensions:tokenizers")
jacocoAggregation project(":extensions:tablesaw")
jacocoAggregation project(":extensions:timeseries")
jacocoAggregation project(":extensions:spark")
jacocoAggregation project(":integration")
jacocoAggregation project(":model-zoo")
}
reporting {
reports {
testCodeCoverageReport(JacocoCoverageReport) {
testType = TestSuiteType.UNIT_TEST
}
}
}
tasks.named("check") {
dependsOn tasks.named("testCodeCoverageReport", JacocoReport)
}
testCodeCoverageReport {
classDirectories.setFrom(files(classDirectories.files.collect {
fileTree(dir: it, exclude: [
"org/tensorflow/lite/**",
"ai/djl/integration/**",
"ai/djl/examples/**"
])
}))
}