Remove old IC: remove experimental-ic-build.log
This commit moves each experimental-ic-build.log into a corresponding build.log file.
This commit is contained in:
@@ -19,14 +19,12 @@ package org.jetbrains.kotlin.incremental.testingUtils
|
||||
import java.io.File
|
||||
|
||||
class BuildLogFinder(
|
||||
private val isExperimentalEnabled: Boolean = false,
|
||||
private val isDataContainerBuildLogEnabled: Boolean = false,
|
||||
private val isGradleEnabled: Boolean = false
|
||||
) {
|
||||
companion object {
|
||||
private const val GRADLE_LOG = "gradle-build.log"
|
||||
private const val DATA_CONTAINER_LOG = "data-container-version-build.log"
|
||||
private const val EXPERIMENTAL_LOG = "experimental-ic-build.log"
|
||||
private const val SIMPLE_LOG = "build.log"
|
||||
}
|
||||
|
||||
@@ -36,7 +34,6 @@ class BuildLogFinder(
|
||||
val matchedName = when {
|
||||
isGradleEnabled && GRADLE_LOG in files -> GRADLE_LOG
|
||||
isDataContainerBuildLogEnabled && DATA_CONTAINER_LOG in files -> DATA_CONTAINER_LOG
|
||||
isExperimentalEnabled && EXPERIMENTAL_LOG in files -> EXPERIMENTAL_LOG
|
||||
SIMPLE_LOG in files -> SIMPLE_LOG
|
||||
else -> null
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user