title: When i build my app the imports become unresolved reference if they belong to another module
body: <p>i'm migrating an app from a single module app to a multimodule app. Im following this structure:</p>
  
  <p>[Core] -> [App] -> [Feature]</p>
  
  <p>I created the core module and the feature called wallet, using the File -> new -> new Module option in Android Studio and selected Android library.</p>
  
  <p>In my core module i don't include any dependencies from the other modules, in my build.gradle from <em>app</em> i already included it using the following:</p>
  
  <pre><code>implementation project(":core")
  implementation project(":wallet")
  </code></pre>
  
  <p>in my build.gradle from <strong>wallet</strong> which is the feature module, i included.</p>
  
  <pre><code>implementation project(':core')
  </code></pre>
  
  <p>And finally i can see they're in the settings.gradle </p>
  
  <pre><code>include ':app', ':core', ':wallet'
  </code></pre>
  
  <pre><code>import com.mycompany.core.data.repository.WalletRepository
  
  class WalletUseCaseImpl(walletRepository: WalletRepository) : WalletUseCase {
      override fun getSavedOffers(): Boolean {
          return true
      }
  }
  </code></pre>
  
  <p>I created a WalletUseCaseImpl which implements an interface, in the constructor i want to pass a repository let's call it <em>WalletRepository</em> when i'm typing the AndroidStudio suggest to import it. So i assume the Android Studio recognize the module dependencies.</p>
  
  <p>Android Studio add this import, which is correct i can use cmd + b to go to the file and that's the file i'm using, everything is good.</p>
  
  <p>This is the import:
  import com.companyname.core.data.repository.WalletRepository</p>
  
  <p>The problem comes when i hit build i'm getting this errors from the Kotlin Compiler:</p>
  
  <p>/Users/myuser/companyprojectname/wallet/src/main/java/com/example/wallet/data/usecase/WalletUseCaseImpl.kt: (3, 24): ** Unresolved reference: data **</p>
  
  <p><strong>Unresolved reference: OffersRepository</strong></p>
  
  <p><strong>Things that i already do</strong>: 
  Invalidate Cache/Restart 
  ./gradlew clean 
  ./gradlew build</p>
  
  <p>Thanks in advance.</p>