https://kotlinlang.org logo
#eap
Title
# eap
r

Rick Clephas

03/24/2024, 12:43 PM
Aret there any recommendations on CI caching of the new
.kotlin
directory?
👀 1
1
r

Rick Clephas

03/24/2024, 6:20 PM
Yeah just wondering if/how we are supposed to cache this directory as it's no longer cached by any Gradle caching. Didn't find any info about that in the docs or YouTrack issues.
a

altavir

03/24/2024, 6:20 PM
It says that it should be ignored.
r

Rick Clephas

03/24/2024, 6:28 PM
It specifically mentions adding it to the gitignore. I am wondering about how the data in that directory relates to other Gradle data that is being cached by Gradle. More specifically if caching Gradle data but not caching this directory could result in issues or prevent the use of said Gradle cache.
a

altavir

03/24/2024, 6:30 PM
In my case it contains error logs and something called
kotlinTransformedMetadataLibraries
. I am not sure what it does, but I don't think it interferes with gradle in any way.
t

tapchicoma

03/25/2024, 8:57 AM
you could cache it separately, but not caching should be also ok
thank you color 1
3 Views