IC: remove CacheVersionManager usages from build_common.
They are kept up to date but was never used.
This commit is contained in:
-21
@@ -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
|
||||
)
|
||||
Reference in New Issue
Block a user