Minor: remove the word 'experimental' from Gradle IC description

This commit is contained in:
Alexey Tsvetkov
2017-02-15 18:36:47 +03:00
parent 62a15e803b
commit dfb60ba4ac
2 changed files with 4 additions and 4 deletions
@@ -18,7 +18,7 @@ package org.jetbrains.kotlin.gradle
import org.gradle.api.logging.LogLevel
import org.jetbrains.kotlin.com.intellij.openapi.util.io.FileUtil
import org.jetbrains.kotlin.gradle.tasks.USING_EXPERIMENTAL_INCREMENTAL_MESSAGE
import org.jetbrains.kotlin.gradle.tasks.USING_INCREMENTAL_COMPILATION_MESSAGE
import org.jetbrains.kotlin.gradle.util.getFileByName
import org.jetbrains.kotlin.gradle.util.getFilesByNames
import org.jetbrains.kotlin.gradle.util.modify
@@ -261,7 +261,7 @@ class KotlinGradleIT: BaseGradleIT() {
localPropertyFile.writeText("kotlin.incremental=true")
project.build("build") {
assertContains(USING_EXPERIMENTAL_INCREMENTAL_MESSAGE)
assertContains(USING_INCREMENTAL_COMPILATION_MESSAGE)
}
}
@@ -48,7 +48,7 @@ import kotlin.properties.Delegates
const val ANNOTATIONS_PLUGIN_NAME = "org.jetbrains.kotlin.kapt"
const val KOTLIN_BUILD_DIR_NAME = "kotlin"
const val USING_EXPERIMENTAL_INCREMENTAL_MESSAGE = "Using experimental kotlin incremental compilation"
const val USING_INCREMENTAL_COMPILATION_MESSAGE = "Using kotlin incremental compilation"
abstract class AbstractKotlinCompile<T : CommonCompilerArguments>() : AbstractCompile(), CompilerArgumentAware {
abstract protected fun createCompilerArgs(): T
@@ -235,7 +235,7 @@ open class KotlinCompile : AbstractKotlinCompile<K2JVMCompilerArguments>(), Kotl
val environment = when {
!incremental -> GradleCompilerEnvironment(compilerJar, messageCollector, outputItemCollector, args)
else -> {
logger.warn(USING_EXPERIMENTAL_INCREMENTAL_MESSAGE)
logger.warn(USING_INCREMENTAL_COMPILATION_MESSAGE)
GradleIncrementalCompilerEnvironment(compilerJar, changedFiles, reporter, taskBuildDirectory,
messageCollector, outputItemCollector, kaptAnnotationsFileUpdater,
artifactDifferenceRegistryProvider,