From b678c15b2c1fb24d6085fdce77e980a137d1bad6 Mon Sep 17 00:00:00 2001 From: Ryan Hass Date: Fri, 3 Jun 2022 10:02:21 -0700 Subject: [PATCH] Change warn level to info when sub-projects are not instrumented. This avoids spamming logs in cases where sub-projects are intentionally omitted. --- src/main/groovy/org/scoverage/ScoveragePlugin.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/groovy/org/scoverage/ScoveragePlugin.groovy b/src/main/groovy/org/scoverage/ScoveragePlugin.groovy index 4f1ba18..50deb71 100644 --- a/src/main/groovy/org/scoverage/ScoveragePlugin.groovy +++ b/src/main/groovy/org/scoverage/ScoveragePlugin.groovy @@ -297,7 +297,7 @@ class ScoveragePlugin implements Plugin { project.gradle.projectsEvaluated { project.subprojects.each { if (it.plugins.hasPlugin(ScalaPlugin) && !it.plugins.hasPlugin(ScoveragePlugin)) { - it.logger.warn("Scala sub-project '${it.name}' doesn't have Scoverage applied and will be ignored in parent project aggregation") + it.logger.info("Scala sub-project '${it.name}' doesn't have Scoverage applied and will be ignored in parent project aggregation") } } def childReportTasks = project.subprojects.findResults {