Thread
#build-tools
    elihart

    elihart

    4 months ago
    I am seeing this reason for gradle build cache misses on our kotlin compile tasks
    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
    tapchicoma

    tapchicoma

    4 months ago
    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.