From 638c1eadffc29570ae78d75f12229d219d5df877 Mon Sep 17 00:00:00 2001 From: Alexey Tsvetkov Date: Wed, 1 Aug 2018 23:58:31 +0300 Subject: [PATCH] Avoid rebuild when '--verbose' is used in Gradle #KT-23472 fixed --- .../kotlin/gradle/internal/CompilerArgumentsGradleInput.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libraries/tools/kotlin-gradle-plugin/src/main/kotlin/org/jetbrains/kotlin/gradle/internal/CompilerArgumentsGradleInput.kt b/libraries/tools/kotlin-gradle-plugin/src/main/kotlin/org/jetbrains/kotlin/gradle/internal/CompilerArgumentsGradleInput.kt index 806610230f7..7801d05ec4b 100644 --- a/libraries/tools/kotlin-gradle-plugin/src/main/kotlin/org/jetbrains/kotlin/gradle/internal/CompilerArgumentsGradleInput.kt +++ b/libraries/tools/kotlin-gradle-plugin/src/main/kotlin/org/jetbrains/kotlin/gradle/internal/CompilerArgumentsGradleInput.kt @@ -47,6 +47,8 @@ internal object CompilerArgumentsGradleInput { // We ignore some file properties e.g. to instead include their values into the Gradle file property checks, // which, unlike String checks, run with specified path sensitivity; private val ignoredProperties = setOf>( + CommonCompilerArguments::verbose, // debug should not lead to rebuild + K2JVMCompilerArguments::destination, // handled by destinationDir K2JVMCompilerArguments::classpath, // handled by classpath of the Gradle tasks K2JVMCompilerArguments::friendPaths, // is part of the classpath