[CHERRY PICKED FROM IJ] Update Kotlin caches version due to adding LookupSymbolKeyDescriptor versioning
Since versioning of LookupSymbolKeyDescriptor was added in 1.5.30: f6b428f2 "KT-34862 use abi snapshot instead of build history files", it is necessary to update version of caches for JPS, as new caches are not compatible with previous.
#KT-48399 Fixed
GitOrigin-RevId: 59b1071c1a1090f78c51824d45e6c000f4ef2f3f
Original commit: https://github.com/JetBrains/intellij-community/commit/658f4aeb603bb224a14a92933ebe519948db7745
This commit is contained in:
committed by
Nikita Bobko
parent
68e5479c95
commit
ea9422fedd
@@ -7,7 +7,7 @@ package org.jetbrains.kotlin.jps.incremental
|
||||
|
||||
import java.nio.file.Path
|
||||
|
||||
private const val NORMAL_VERSION = 14
|
||||
private const val NORMAL_VERSION = 15
|
||||
private const val NORMAL_VERSION_FILE_NAME = "format-version.txt"
|
||||
|
||||
fun localCacheVersionManager(dataRoot: Path, isCachesEnabled: Boolean) = CacheVersionManager(
|
||||
|
||||
@@ -8,7 +8,7 @@ package org.jetbrains.kotlin.jps.incremental
|
||||
import java.nio.file.Path
|
||||
|
||||
private const val DATA_CONTAINER_VERSION_FILE_NAME = "data-container-format-version.txt"
|
||||
private const val DATA_CONTAINER_VERSION = 5
|
||||
private const val DATA_CONTAINER_VERSION = 6
|
||||
|
||||
fun lookupsCacheVersionManager(dataRoot: Path, isEnabled: Boolean) = CacheVersionManager(
|
||||
dataRoot.resolve(DATA_CONTAINER_VERSION_FILE_NAME),
|
||||
|
||||
Reference in New Issue
Block a user