JPS: clear target local cache version file when caches are not required anymore
Makes changeIncrementalOption/incrementalOff test green
Original commit: 7cdd5257c8
This commit is contained in:
@@ -231,6 +231,7 @@ class KotlinCompileContext(val jpsContext: CompileContext) {
|
||||
"$target caches is cleared as not required anymore: ${target.initialLocalCacheAttributesDiff}"
|
||||
)
|
||||
testingLogger?.invalidOrUnusedCache(null, target, target.initialLocalCacheAttributesDiff)
|
||||
target.initialLocalCacheAttributesDiff.manager.writeVersion(null)
|
||||
dataManager.getKotlinCache(target)?.clean()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user