Fix coverage task ()

This commit is contained in:
modmuss 2024-02-10 21:24:55 +00:00 committed by GitHub
parent 24d3f0ed2d
commit 3335cde7ee
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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