How to automatically set a task to "--info"?

(Phil Swenson) #1

I have a task that doesn’t output anything interesting unless --info is passed in. Is there a way to make the task always do “–info”?

(Peter Niederwieser) #2

It should work like this:

myTask.logging.level = LogLevel.INFO

However, for some reason this doesn’t have the desired effect for me at the moment.

(Phil Swenson) #3

That’s not working for me either… (gradle 1.1)