Logging output in unit tests with gradleApi dependency


We are developing some Gradle custom tasks. For logging we’re using slf4j. As long we do not have the gradleApi dependency, logging in junit tests works as expected. Starting with the custom tasks and therefore in need of the gradleApi dependency only the messages for the error and warn logging levels are shown in the junit tests. Even with “gradle test -i”.

Any help is appreciated.

best regards