IC: remove CacheVersionManager usages from build_common.

They are kept up to date but was never used.
This commit is contained in:
Sergey Rostov
2018-10-15 12:35:58 +03:00
parent 5232f080d6
commit 940861c245
8 changed files with 3 additions and 106 deletions
@@ -1,21 +0,0 @@
/*
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
* that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.gradle.incremental
import org.jetbrains.kotlin.incremental.customCacheVersionManager
import org.jetbrains.kotlin.incremental.storage.version.CacheVersionManager
import java.io.File
internal const val GRADLE_CACHE_VERSION = 4
internal const val GRADLE_CACHE_VERSION_FILE_NAME = "gradle-format-version.txt"
internal fun gradleCacheVersionManager(dataRoot: File, enabled: Boolean): CacheVersionManager =
customCacheVersionManager(
GRADLE_CACHE_VERSION,
GRADLE_CACHE_VERSION_FILE_NAME,
dataRoot,
enabled
)