title: Runtime JAR files in the classpath should have the same version
body: <p>I have a project which I use Dagger2 &amp; kotlin, I imported <code>"org.jetbrains.kotlin:kotlin-stdlib:1.3.50”</code> in my build.gradle and I was getting this Error: </p>
  
  <blockquote>
    <p>w: Runtime JAR files in the classpath should have the same version.
    These files were found in the classpath:</p>
    
    <p>w:
    /Users/macbook/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib-jre7/1.1.51/8b5933578dc55f32cfc1a25f1db6371e4161fb8f/kotlin-stdlib-jre7-1.1.51.jar:
    kotlin-stdlib-jre7 is deprecated. Please use kotlin-stdlib-jdk7
    instead</p>
  </blockquote>
  
  <p>So therefore I changed from <code>"kotlin-stdlib"</code> to <code>"kotlin-stdlib-jdk7"</code> using:
  <code>implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.3.50”</code> and I am still getting this error.</p>
  
  <p>I then made some research and found this URL: <a href="https://stackoverflow.com/questions/42569445/warning-kotlin-runtime-jar-files-in-the-classpath-should-have-the-same-version">warning: Kotlin runtime JAR files in the classpath should have the same version</a></p>
  
  <p>I found the usage of kotlin-reflect: <code>"implementation "org.jetbrains.kotlin:kotlin-reflect:1.3.50"</code></p>
  
  <p>I added it to my build.gradle <strong>BUT I still have the same errors</strong></p>
  
  <pre><code>implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7: 1.3.50"
  implementation "org.jetbrains.kotlin:kotlin-reflect: 1.3.50"
  </code></pre>
  
  <p>This is my BaseApplication class below, which I am calling the Dagger components :</p>
  
  <pre><code>class BaseApplication : Application() {
  
      companion object {
          @JvmStatic lateinit var netComponent: NetComponent
          @JvmStatic lateinit var exampleComponent: ExampleComponent
      }
  
      override fun onCreate() {
          super.onCreate()
  
          netComponent = DaggerNetComponent.builder()
                  .appModule(AppModule(this))
                  .netModule(NetModule())
                  .build()
  
          exampleComponent = DaggerExampleComponent.builder()
                  .netComponent(netComponent)
                  .retrofitModule(RetrofitModule())
                  .exampleModule(ExampleModule(this))
                  .build()
  
      }
  }
  </code></pre>