https://kotlinlang.org logo
#kapt
Title
# kapt
a

agrosner

02/24/2018, 4:08 PM
If not, is there a location where I can delete it manually?
s

sujin

02/24/2018, 4:16 PM
Only kapt build cache? while keeping the rest as it is?
a

agrosner

02/24/2018, 4:17 PM
Well it keeps resurfacing generated classes that I moved to another package. Disabling gradle build cache didn't change that they resurface
y

yan

02/26/2018, 2:45 PM
^ @h0tk3y
a

agrosner

02/28/2018, 9:14 PM
any news? Its annoying on other laptops even clearing the gradle build class recreates some outdated generated files
not sure where I can actually clear it
@h0tk3y
h

h0tk3y

02/28/2018, 9:34 PM
Sorry for taking so long. I believe you can delete the Gradle build cache located in
~/.gradle/cache/build-cache-1
(or something similar), though if the classes keep appearing with the wrong package names even with caching disabled, it might mean there's a problem somewhere else, e.g. in incremental compilation. Does this happen in a clean build with caching enabled? Anyway, an issue like this is worth investigating deeper, so it will be great if you report it to the issue tracker and provide more details so that we can try to reproduce it.
a

agrosner

02/28/2018, 9:35 PM
sure I can report it. I run ./gradlew cleanBuildCache, also clear out the build/ dir of the offending directory. I will try that in the gradle cache
I will test removing the directory and then if it fails, report my steps.
and yes it happens in a clean build with caching enabled. I can try disabling it
disabling cache, clearing it, building works. enabling cache +building again works too. shouldnt kapt clear its build cache during the
cleanBuildCache
task?
h

h0tk3y

03/01/2018, 11:04 AM
AFAIK,
cleanBuildCache
relates to Android Build Cache, which is a different thing from Gradle Build Cache.