Avoid rebuild when '--verbose' is used in Gradle
#KT-23472 fixed
This commit is contained in:
+2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user