apoorvmittal10 commented on code in PR #18537:
URL: https://github.com/apache/kafka/pull/18537#discussion_r1916904366


##########
build.gradle:
##########
@@ -3371,7 +3369,7 @@ project(':jmh-benchmarks') {
       if (System.getProperty("jmhArgs")) {
           args System.getProperty("jmhArgs").split(' ')
       }
-      args = [shadowJar.archivePath, *args]
+      args = [shadowJar.archiveFile.get().asFile, *args]

Review Comment:
   For my knowledge should it be as below: 
https://docs.gradle.org/current/kotlin-dsl/gradle/org.gradle.api.file/-regular-file/index.html?
   
   ```suggestion
         args = [shadowJar.archiveFile.get().getAsFile, *args]
   ```



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to