How to get gradle to log the commands it is executing like ant did?


(Dean Hiller) #1

see title for question on gradle.

ie. I have a bug right now in maven on running aspectj compiler at parent level and at the child level and one is broke and the other is not so I want the command logged so I can run it, attach a debugger and figure out what is going on. Unfortunately, I don’t know how to do this in maven.


(Peter Niederwieser) #2

I suppose you are talking about external commands. Many Gradle tasks do not run an external command, hence there is no command to log. Tasks that do run an external command will typically log it at info (’-i’) or debug (’-d’) level.

PS: Please put some more effort into formulating your questions.