title: ERROR : error.NonExistentClass Kotlin In multi module Dagger project
body: <p>I'm using Dagger 2 and Kotlin for Android development.
  My project is also a multi-module project.
  My settings.gradle file is like this:</p>
  
  <pre><code>include :app
  include :lib
  </code></pre>
  
  <p>I'm also maintaining the lib module.</p>
  
  <p>In the Dagger Files (for example in the component), I try to get the item from other module. For example:</p>
  
  <pre><code>@Component
  interface AppComponent{
      fun getPresenter() : Presenter
  }
  </code></pre>
  
  <p>The Presenter object is defined in lib module. I was working in linux environment and I'm using Android Studio 3 preview canary 5. The code is working well and I am able to generate APK.</p>
  
  <p>But my company wanted to generate the APK using stable version of Android Studio. I'm using Android Studio 2.3.3.</p>
  
  <p>When compiling the Android Project, I encountered this error:</p>
  
  <pre><code>error: error.NonExistentClass
  </code></pre>
  
  <p>The error appears when </p>
  
  <pre><code>:app:kaptDebugKotlin 
  </code></pre>
  
  <p>is performed and caused by the dagger class cannot found, the class is defined in the other project. What can be the possible workaround for this? Sorry for my bad English.</p>