mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-04-19 23:00:19 +00:00
Use logger in Gradle over println (#434)
* Log info instead of println in gradle scripts * Missed buildSrc printlns
This commit is contained in:
@@ -13,7 +13,7 @@ val dump = tasks.create("dumpDependents") {
|
||||
doFirst {
|
||||
taskSet.forEach {
|
||||
val resource = File(resourcesDir, it.archiveFileName.get())
|
||||
println("Including archive " + it.archiveFileName.orNull + " in directory " + resource.absolutePath)
|
||||
logger.info("Including archive " + it.archiveFileName.orNull + " in directory " + resource.absolutePath)
|
||||
it.archiveFile.get().asFile.copyTo(resource, true)
|
||||
}
|
||||
}
|
||||
@@ -32,6 +32,6 @@ afterEvaluate {
|
||||
}
|
||||
tasks["dumpDependents"].dependsOn(task)
|
||||
taskSet.add(task)
|
||||
println("Merged JAR will incorporate task ${task.name} from platform ${it.name}.")
|
||||
logger.info("Merged JAR will incorporate task ${task.name} from platform ${it.name}.")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user