Use gradle logger to filter out when running with only warning logs.

This commit is contained in:
Benoit Marty
2023-05-25 12:03:51 +02:00
parent 981632b7a4
commit 14366e18e7
5 changed files with 17 additions and 11 deletions

View File

@@ -62,7 +62,7 @@ fun includeProjects(directory: File, path: String, maxDepth: Int = 1) {
val buildFile = File(file, "build.gradle.kts")
if (buildFile.exists()) {
include(newPath)
println("Included project: $newPath")
logger.lifecycle("Included project: $newPath")
} else if (maxDepth > 0) {
includeProjects(file, newPath, maxDepth - 1)
}