Avoid rebuild when '--verbose' is used in Gradle

#KT-23472 fixed
This commit is contained in:
Alexey Tsvetkov
2018-08-01 23:58:31 +03:00
parent d09629972a
commit 638c1eadff
@@ -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<KProperty<*>>(
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