Gradle breaks logging usages

Seems gradle redirects everything to slf4j for convenience. This is nice until the app customises its logging. Typically in my case JUL usage is broken - and config not respected - cause of jul-to-slf4j setup.

Would be great to be able to switch it off for at least test task.

Any way to do it without patching gradle ditribution?