While updating to latest detekt snapshot version d...
# detekt
a
While updating to latest detekt snapshot version due to many removals and renaming of configs, got
[31mRun failed with 52 invalid config properties.[0m
. Is there any plan to guide user how to tackle those errors?
These are the exact error I found
Copy code
Execution failed for task ':app:detektProdDebug'.
> [31mRun failed with 52 invalid config properties.[0m
  	- [31mProperty 'build>maxIssues' is misspelled or does not exist. This error may also indicate a detekt plugin is necessary to handle the 'build>maxIssues' key.[0m
  	- [31mProperty 'build>weights' is misspelled or does not exist. This error may also indicate a detekt plugin is necessary to handle the 'build>weights' key.[0m
  	- [31mProperty 'complexity>ComplexCondition>threshold' is misspelled or does not exist. This error may also indicate a detekt plugin is necessary to handle the 'complexity>ComplexCondition>threshold' key.[0m
  	- [31mProperty 'complexity>ComplexInterface>threshold' is misspelled or does not exist. This error may also indicate a detekt plugin is necessary to handle the 'complexity>ComplexInterface>threshold' key.[0m
  	- [31mProperty 'complexity>CyclomaticComplexMethod>threshold' is misspelled or does not exist. This error may also indicate a detekt plugin is necessary to handle the 'complexity>CyclomaticComplexMethod>threshold' key.[0m
  	- [31mProperty 'complexity>CognitiveComplexMethod>threshold' is misspelled or does not exist. This error may also indicate a detekt plugin is necessary to handle the 'complexity>CognitiveComplexMethod>threshold' key.[0m
  	- [31mProperty 'complexity>LargeClass>threshold' is misspelled or does not exist. This error may also indicate a detekt plugin is necessary to handle the 'complexity>LargeClass>threshold' key.[0m
  	- [31mProperty 'complexity>LongMethod>threshold' is misspelled or does not exist. This error may also indicate a detekt plugin is necessary to handle the 'complexity>LongMethod>threshold' key.[0m
  	- [31mProperty 'complexity>LongParameterList>functionThreshold' is misspelled or does not exist. This error may also indicate a detekt plugin is necessary to handle the 'complexity>LongParameterList>functionThreshold' key.[0m
  	- [31mProperty 'complexity>LongParameterList>constructorThreshold' is misspelled or does not exist. This error may also indicate a detekt plugin is necessary to handle the 'complexity>LongParameterList>constructorThreshold' key.[0m
  	- [31mProperty 'complexity>MethodOverloading>threshold' is misspelled or does not exist. This error may also indicate a detekt plugin is necessary to handle the 'complexity>MethodOverloading>threshold' key.[0m
  	- [31mProperty 'complexity>NamedArguments>threshold' is misspelled or does not exist. This error may also indicate a detekt plugin is necessary to handle the 'complexity>NamedArguments>threshold' key.[0m
  	- [31mProperty 'complexity>NestedBlockDepth>threshold' is misspelled or does not exist. This error may also indicate a detekt plugin is necessary to handle the 'complexity>NestedBlockDepth>threshold' key.[0m
  	- [31mProperty 'complexity>NestedScopeFunctions>threshold' is misspelled or does not exist. This error may also indicate a detekt plugin is necessary to handle the 'complexity>NestedScopeFunctions>threshold' key.[0m
  	- [31mProperty 'complexity>StringLiteralDuplication>threshold' is misspelled or does not exist. This error may also indicate a detekt plugin is necessary to handle the 'complexity>StringLiteralDuplication>threshold' key.[0m
  	- [31mProperty 'complexity>StringLiteralDuplication>excludeStringsWithLessThan5Characters' is misspelled or does not exist. This error may also indicate a detekt plugin is necessary to handle the 'complexity>StringLiteralDuplication>excludeStringsWithLessThan5Characters' key.[0m
  	- [31mProperty 'complexity>TooManyFunctions>thresholdInFiles' is misspelled or does not exist. This error may also indicate a detekt plugin is necessary to handle the 'complexity>TooManyFunctions>thresholdInFiles' key.[0m
  	- [31mProperty 'complexity>TooManyFunctions>thresholdInClasses' is misspelled or does not exist. This error may also indicate a detekt plugin is necessary to handle the 'complexity>TooManyFunctions>thresholdInClasses' key.[0m
  	- [31mProperty 'complexity>TooManyFunctions>thresholdInInterfaces' is misspelled or does not exist. This error may also indicate a detekt plugin is necessary to handle the 'complexity>TooManyFunctions>thresholdInInterfaces' key.[0m
  	- [31mProperty 'complexity>TooManyFunctions>thresholdInObjects' is misspelled or does not exist. This error may also indicate a detekt plugin is necessary to handle the 'complexity>TooManyFunctions>thresholdInObjects' key.[0m
  	- [31mProperty 'complexity>TooManyFunctions>thresholdInEnums' is misspelled or does not exist. This error may also indicate a detekt plugin is necessary to handle the 'complexity>TooManyFunctions>thresholdInEnums' key.[0m
  	- [31mProperty 'empty-blocks>EmptyKtFile' is misspelled or does not exist. This error may also indicate a detekt plugin is necessary to handle the 'empty-blocks>EmptyKtFile' key.[0m
  	- [31mProperty 'naming>FunctionMaxLength' is misspelled or does not exist. This error may also indicate a detekt plugin is necessary to handle the 'naming>FunctionMaxLength' key.[0m
  	- [31mProperty 'naming>FunctionMinLength' is misspelled or does not exist. This error may also indicate a detekt plugin is necessary to handle the 'naming>FunctionMinLength' key.[0m
  	- [31mProperty 'performance>CouldBeSequence>threshold' is misspelled or does not exist. This error may also indicate a detekt plugin is necessary to handle the 'performance>CouldBeSequence>threshold' key.[0m
  	- [31mProperty 'style>MayBeConst' is misspelled or does not exist. This error may also indicate a detekt plugin is necessary to handle the 'style>MayBeConst' key.[0m
  	- [31mProperty 'style>RedundantVisibilityModifierRule' is misspelled or does not exist. This error may also indicate a detekt plugin is necessary to handle the 'style>RedundantVisibilityModifierRule' key.[0m
  	- [31mProperty 'style>SpacingBetweenPackageAndImports' is misspelled or does not exist. This error may also indicate a detekt plugin is necessary to handle the 'style>SpacingBetweenPackageAndImports' key.[0m
  	- [31mProperty 'style>UnnecessaryAbstractClass' is misspelled or does not exist. This error may also indicate a detekt plugin is necessary to handle the 'style>UnnecessaryAbstractClass' key.[0m
  	- [31mProperty 'style>UntilInsteadOfRangeTo' is misspelled or does not exist. This error may also indicate a detekt plugin is necessary to handle the 'style>UntilInsteadOfRangeTo' key.[0m
  	- [31mProperty 'style>UnusedImports' is misspelled or does not exist. This error may also indicate a detekt plugin is necessary to handle the 'style>UnusedImports' key.[0m
  	- [31mProperty 'style>UnusedPrivateMember' is misspelled or does not exist. This error may also indicate a detekt plugin is necessary to handle the 'style>UnusedPrivateMember' key.[0m
  	- [31mRule 'CharArrayToStringCall' from the 'potential-bugs' rule set is missing in the configuration.[0m
  	- [31mRule 'MissingSuperCall' from the 'potential-bugs' rule set is missing in the configuration.[0m
  	- [31mRule 'MissingUseCall' from the 'potential-bugs' rule set is missing in the configuration.[0m
  	- [31mRule 'UnnamedParameterUse' from the 'potential-bugs' rule set is missing in the configuration.[0m
  	- [31mRule 'CoroutineLaunchedInTestWithoutRunTest' from the 'coroutines' rule set is missing in the configuration.[0m
  	- [31mRule 'EmptyKotlinFile' from the 'empty-blocks' rule set is missing in the configuration.[0m
  	- [31mRule 'FunctionNameMaxLength' from the 'naming' rule set is missing in the configuration.[0m
  	- [31mRule 'FunctionNameMinLength' from the 'naming' rule set is missing in the configuration.[0m
  	- [31mRule 'AbstractClassCanBeConcreteClass' from the 'style' rule set is missing in the configuration.[0m
  	- [31mRule 'AbstractClassCanBeInterface' from the 'style' rule set is missing in the configuration.[0m
  	- [31mRule 'DoubleNegativeExpression' from the 'style' rule set is missing in the configuration.[0m
  	- [31mRule 'MayBeConstant' from the 'style' rule set is missing in the configuration.[0m
  	- [31mRule 'RangeUntilInsteadOfRangeTo' from the 'style' rule set is missing in the configuration.[0m
  	- [31mRule 'RedundantConstructorKeyword' from the 'style' rule set is missing in the configuration.[0m
  	- [31mRule 'RedundantVisibilityModifier' from the 'style' rule set is missing in the configuration.[0m
  	- [31mRule 'SpacingAfterPackageDeclaration' from the 'style' rule set is missing in the configuration.[0m
  	- [31mRule 'UnnecessaryAny' from the 'style' rule set is missing in the configuration.[0m
  	- [31mRule 'UnusedImport' from the 'style' rule set is missing in the configuration.[0m
  	- [31mRule 'UnusedPrivateFunction' from the 'style' rule set is missing in the configuration.[0m
  	- [31mRule 'UnusedVariable' from the 'style' rule set is missing in the configuration.[0m

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at <https://help.gradle.org>.
BUILD FAILED in 1s
75 actionable tasks: 5 executed, 70 up-to-date
context now I don’t know if those has been removed altogether or renamed to some new property. Also will using
checkExhaustiveness
help to ensure that I have added all the properties in the config file?
g
Yeah we’ll have to write a migration guides for folks from 1.0 to 2.0