Gradle project import issue

I have multimodule Gradle project and org.powermock:powermock-reflect:1.5.5 among dependencies. After importing project in idea-IU-138.2458.8 I got a lot of compilation errors like this
/home/bulat/IdeaProjects/sms_router/smpp.complete/src/test/java/net/sf/apr/smpp/q/QToolsTest.java
Error:(8, 29) java: package org.powermock.reflect does not exist
Error:(122, 21) java: cannot find symbol
  symbol:   variable Whitebox
  location: class net.sf.apr.smpp.q.QToolsTest
Error:(124, 25) java: cannot find symbol
  symbol:   variable Whitebox
  location: class net.sf.apr.smpp.q.QToolsTest
Error:(125, 26) java: cannot find symbol
  symbol:   variable Whitebox
  location: class net.sf.apr.smpp.q.QToolsTest


import org.powermock.reflect.Whitebox;
turned red and hint says Cannot resolve symbol 'Whitebox'

Project compiles from command line using gradle clean build command
Project compiles in IntelliJ IDEA 13.1.5. Rebuild project shows no errors and everything works.

I cannot reproduce this error with sample gradle project.

I checked all the locations i know, but everything seems to be ok.
module_dependencies.png
external_libraries_class_location.png

Can you suggest what settings should i check to resolve this issue?

Please sign in to leave a comment.