bmuschko/gradle-clover-plugin — Issue #8: Support custom source sets.
Author: peterwalker
Created: 2012-01-03 17:05:03+00:00
State: open

Looking at the gradle/sonar plugin, something similar to this needs to be supported.

27.3. Analyzing Custom Source Sets
By default, the Sonar plugin will analyze the production sources in the main source set and the test sources in the test source set. This works independent of the project's source directory layout. Additional source sets can be added as needed.

Example 27.9. Analyzing custom source sets

build.gradle

sonar.project {
sourceDirs += sourceSets.custom.allSource.srcDirs
testDirs += sourceSets.integTest.allSource.srcDirs
}