0

I have a gradle project with multiple modules. The modules have dependencies on one another. So far so good. For classes within the java package - this works fine and the objects are imported as expected. However, if I create a new package within java package and place the exact same class inside, gradle no longer seems to be able to find the classes to import. I have attached an image to show this:

enter image description here

This is my settings: enter image description here

This is the build.gradle for the integration module (injecting models from integration-model package):

enter image description here

I'm clearly doing something wrong but have gone round in circles trying to figure out what. Would appreciate the help. Totally stuck on this one, definitely comes down to some intellij module definitions in project structure but unsure.

  • Did you know that [you can't import classes from the default package](http://stackoverflow.com/a/2030159/104891)? Is that the case? If not, please share the [Minimal, Complete, and Verifiable example](http://stackoverflow.com/help/mcve). – CrazyCoder Mar 10 '17 at 21:13
  • Updated with further data, no i am merely importing classes from another package within the default. –  Mar 11 '17 at 12:03

0 Answers0