# "Classpath entry points to a non-existent location" in 1.3.70

**URL:** <https://discuss.kotlinlang.org/t/classpath-entry-points-to-a-non-existent-location-in-1-3-70/16599>\
**Category:** Android\
**Created:** [March 4, 2020, 9:17pm UTC](https://discuss.kotlinlang.org/t/classpath-entry-points-to-a-non-existent-location-in-1-3-70/16599 "2020-03-04T21:17:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rynkowsg](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/rynkowsg/32/6122_2.png) [@rynkowsg](https://discuss.kotlinlang.org/u/rynkowsg)\
**Post date:** [March 4, 2020, 9:17pm UTC](https://discuss.kotlinlang.org/t/classpath-entry-points-to-a-non-existent-location-in-1-3-70/16599/1 "2020-03-04T21:17:19Z")

</div>

Hi,

I updated Kotlin from 1.3.61 to 1.3.70 and I found an irritating warning related to kapt:

```
> Task :base:kaptGenerateStubsTestKotlin
w: Classpath entry points to a non-existent location: <project-path>/base/build/resources/main

```

`base` is a kotlin/jvm library module.

I used to have set `kotlinOptions.allWarningsAsErrors = true` so the upgrade started failing my tests.

My `build.gradle` for this module:

```
import chargedup.buildsrc.Libs

apply plugin: 'kotlin'

apply plugin: 'kotlin-kapt'
kapt {
    correctErrorTypes = true
    useBuildCache = true
}

dependencies {
    implementation project(':libraries:concurrency-api')

    implementation Libs.Kotlin.stdlib

    api Libs.Coroutines.core

    testImplementation Libs.junit
    testImplementation Libs.Kotlin.stdlib
    testImplementation Libs.Kotlin.testJunit
}

```

_(this particular module doesn’t need kapt, but I have other when I need it and I get the same problem)_

`gradle.properties`:

```
org.gradle.jvmargs=-Xmx1536m
org.gradle.configureondemand=true
org.gradle.caching=false
android.useAndroidX=true
android.enableJetifier=true
android.enableGradleWorkers=true
android.databinding.incremental=true
kapt.use.worker.api=true
kapt.incremental.apt=true
kapt.include.compile.classpath=false
kotlin.code.style=official

```

I’m using gradle 6.2.1, kotlin: 1.3.70, android plugin: 3.6.1.

Once I downgraded kotlin to 1.3.61 it works fine again.

---

<div class="post-metadata">

**Author:** ![Alexey.Belkov](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/alexey.belkov/32/5215_2.png) [@Alexey.Belkov](https://discuss.kotlinlang.org/u/Alexey.Belkov)\
**Post date:** [March 5, 2020, 7:02am UTC](https://discuss.kotlinlang.org/t/classpath-entry-points-to-a-non-existent-location-in-1-3-70/16599/2 "2020-03-05T07:02:46Z")

</div>

Hi! The bug is tracked in [https://youtrack.jetbrains.com/issue/KT-37241](https://youtrack.jetbrains.com/issue/KT-37241). Can you please share a project to reproduce in that issue? Thanks in advance.
