Hi!

First of all I'd like to say that I'm newbie in gradle. Secondly, I'd like
to use dependencies for example:

compile 'log4j:log4j:1.2.16'
compile 'org.slf4j:slf4j-log4j12:1.6.1'

to be avialable in testCompile scope. How can I declare it in my
build.gradle script?

I want to use classes from this libraries in /src/main/java and
/src/test/java, but when I use it in my test classes, while testCompile task
execution I get an error that packages org.slf4j and log4j doesn't exist, so
gradle doesn't include libraries. I've got Maven pom.xml configured the same
way as build.gradle and there my tests work correctly.



-- 
Regards,
Darek

Reply via email to