Use gradle logger to filter out when running with only warning logs.
This commit is contained in:
parent
fdb1ebf0ce
commit
80b656a9c5
5 changed files with 17 additions and 11 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue