paulk-asert commented on code in PR #2043:
URL: https://github.com/apache/groovy/pull/2043#discussion_r1467377244


##########
build-logic/src/main/groovy/org.apache.groovy-performance.gradle:
##########
@@ -70,7 +70,7 @@ tasks.named('compileJmhGroovy') {
 
 tasks.register('displayJmhResults') {
     doLast {
-        println file("$buildDir/results/jmh/results.txt").text
+        println 
layout.buildDirectory.file("results/jmh/results.txt").get().asFile

Review Comment:
   This currently actually prints out the file, not the name as proposed, so 
the .text is still needed.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@groovy.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to