我有简单的build.gradle(或任何具有println的任务的build.gradle)
println GradleVersion.current().prettyPrint() task task1{ println 'task1 starting' }
现在当我运行$gradle build时,我总是看到正在执行的任务或打印输出
task1 starting :compileJava UP-TO-DATE :processResources UP-TO-DATE :classes UP-TO-DATE :jar :assemble :compileTestJava UP-TO-DATE :processTestResources UP-TO-DATE :testClasses UP-TO-DATE :test UP-TO-DATE :check UP-TO-DATE :build BUILD SUCCESSFUL Total time: 1.291 secs
为什么println里面的任务总是有输出?