> testCompileOnly: Additional dependencies only...
# gradle
k
testCompileOnly: Additional dependencies only for compiling tests, not used at runtime
That implies that compileOnly dependencies also count.