matrei commented on code in PR #14836:
URL: https://github.com/apache/grails-core/pull/14836#discussion_r2174968572
##########
grails-gradle/tasks/src/main/groovy/org/grails/gradle/plugin/run/FindMainClassTask.groovy:
##########
@@ -156,7 +131,8 @@ abstract class FindMainClassTask extends DefaultTask {
MainClassHolder mainClassHolder = null
for (File classesDir in classesDirs) {
logger.debug("Searching for main class in: {}",
classesDir.absolutePath)
- mainClassHolder = mainClassFinder.findMainClass(classesDir, false)
// do not cache inside of the finder since gradle is responsible for caching
+ mainClassHolder = mainClassFinder.findMainClass(classesDir, false)
+ // do not cache inside of the finder since gradle is responsible
for caching
if (mainClassHolder) {
logger.debug("Found main class: {} at {}",
mainClassHolder.className, mainClassHolder.classFile.absolutePath)
Review Comment:
On more pass here?
--
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]