https://kotlinlang.org logo
#build-tools
Title
# build-tools
e

elihart

05/25/2022, 12:13 AM
I am seeing this reason for gradle build cache misses on our kotlin compile tasks
Copy code
The task was not up-to-date because of the following reasons:	
The type of task ':base:compileDebugKotlin' has changed from 'org.jetbrains.kotlin.gradle.tasks.KotlinCompileWithWorkers_Decorated' to 'org.jetbrains.kotlin.gradle.tasks.KotlinCompile_Decorated'.
I am looking for reasons why this would happen. We are on kotlin 1.6.21 and as far as I can tell the
KotlinCompileWithWorkers
class doesn’t exist anymore in that branch. Any leads are appreciated
t

tapchicoma

05/25/2022, 8:08 AM
Kotlin 1.6.21 indeed removed
KotlinCompileWithWorkers
task class as compilation now is always happening with workers. The reason why you see build cache misses is hard to say without seeing the project itself.
👍 2
47 Views