reports of the different project modules
This plugin accepts a configuration of the form below and merges the Jacoco test reports of the subprojects of the specified project or module in one aggregated report. The report will be located in the build folder of this project/module.
jacocoMergeReport {
projectName = "<project/module name>"
}
./gradlew build
This is the testing project used for testing the functionality of the plugin. In the current setup, it is a module in the project. It can use the plugin code directly from the buildSrc folder.
- The
mainfolder contains the main implementation logic - The
testfolder contains Unit tests for the various modules of the plugin
- Debugging the buildSrc tests can only be done by performing remote debugging on any gradle command,
as
buildSrcis not a proper module of the class. buildSrcbuilds on every gradle command if the are changes in thebuildSrccode.- To perform the debugging you should kill al gradle daemons and
enable the following lines in the
gradle.propertiesfile.#org.gradle.daemon=false #org.gradle.debug=true