Fix coverage task (#3583)

(cherry picked from commit 3335cde7ee)
This commit is contained in:
modmuss 2024-02-10 21:24:55 +00:00 committed by modmuss50
parent 2521adacaf
commit 03225c2601

View file

@ -462,7 +462,7 @@ tasks.register('coverage', JacocoReport) {
// Add all source as input // Add all source as input
allprojects { p -> allprojects { p ->
if (p.path.startsWith(":deprecated")) { if (p.path.startsWith(":deprecated") || metaProjects.contains(p.name)) {
return return
} }
sourceSets p.sourceSets.main, p.sourceSets.client, p.sourceSets.testmod, p.sourceSets.testmodClient sourceSets p.sourceSets.main, p.sourceSets.client, p.sourceSets.testmod, p.sourceSets.testmodClient