Lines Matching refs:dist
2 * This script plugin is used to bundle the host test (e.g. Robolectric) results and dist it in
5 * - If a non-dist build is run with test, it will run the normal unit tests, failing the build if
7 * - If a dist build is run with test (e.g. ./gradlew dist test), the build will ignore any test
9 * dist/host-test-reports for consumption by TradeFed.
12 apply plugin: 'dist'
15 // If unit tests are run as part of the build, dist the test XML reports to host-test-reports/*.zip
20 // running with 'dist'. (Usually as part of a build server build)
21 task.ignoreFailures = taskGraph.hasTask(tasks.dist)
34 // Copy the test reports to dist/host-test-reports
36 tasks.dist.mustRunAfter zipTask
37 dist.file zipTask.archivePath.path, "host-test-reports/${zipTask.archiveName}"
99 // Copy the coverage reports to dist/host-test-coverage
101 tasks.dist.mustRunAfter jacocoTask
102 dist.file jacocoTask.reports.xml.destination.path, "host-test-coverage/${jacocoTask.name}.xml"
104 tasks.dist.mustRunAfter zipTask
105 dist.file zipTask.archivePath.path, "host-test-coverage/${zipTask.archiveName}"