Gradle Project - Not resolving org.junit dependencies
Answered
Hi ,
We have project where we can build with Gradle task using terminal but When i try to build from Intelli J Idea it shows that below Library cannot be located.
import org.apache.commons.lang3.time.DateUtils;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
Steps taken so far:
1. Refrsh Gradle
2. Check Project Structure --> Module to ensure Libraries are exist in Gradle cache location.
3. Re-import porject
4. File --> invalidate and restart
It looks like all the the dependencies exist and located where it supposed to be but for some reason Intelli J Idea cant locate soem
of them.
especiall ones starts with org.*
I am using Intelli J idea 2017.3
Please sign in to leave a comment.
Please try with https://confluence.jetbrains.com/display/IDEADEV/IDEA+2017.3+EAP version. Check idea.log (https://intellij-support.jetbrains.com/hc/articles/207241085) for errors.
If the issue persists, please report at https://youtrack.jetbrains.com/issues/IDEA with the sample project and the logs attached.