Gradle Question

I have the latest Community version 14.1. One unit test class is not associated with Gradle for some reason and the test failure due to a library dependency in my build.gradle isn't picked up. I can't see how I can attach the unit test class to Gradle.

How to solve this problem?

1 comment
Comment actions Permalink

Did you conigure the source sets correctly? Make sure the test file is located in the correct folder and this folder is added to test source roots.

Refer to the Gradle Java plug-in documentation: http://gradle.org/docs/current/userguide/java_plugin.html .

0

Please sign in to leave a comment.