Commit b2d3e9da authored by Mygod's avatar Mygod

Update dependencies

parent 7e9652ed
...@@ -32,7 +32,7 @@ buildscript { ...@@ -32,7 +32,7 @@ buildscript {
classpath 'com.github.ben-manes:gradle-versions-plugin:0.27.0' classpath 'com.github.ben-manes:gradle-versions-plugin:0.27.0'
classpath 'com.google.android.gms:oss-licenses-plugin:0.9.5' classpath 'com.google.android.gms:oss-licenses-plugin:0.9.5'
classpath 'com.google.gms:google-services:4.3.3' classpath 'com.google.gms:google-services:4.3.3'
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.8.0' classpath 'com.vanniktech:gradle-maven-publish-plugin:0.9.0'
classpath 'io.fabric.tools:gradle:1.31.2' classpath 'io.fabric.tools:gradle:1.31.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion" classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
} }
......
# https://github.com/arturbosch/detekt/blob/1.3.1/detekt-cli/src/main/resources/default-detekt-config.yml # https://github.com/arturbosch/detekt/blob/1.5.0/detekt-cli/src/main/resources/default-detekt-config.yml
comments: comments:
active: false active: false
...@@ -56,6 +56,13 @@ complexity: ...@@ -56,6 +56,13 @@ complexity:
ignorePrivate: false ignorePrivate: false
ignoreOverridden: true ignoreOverridden: true
coroutines:
active: true
GlobalCoroutineUsage:
active: false
RedundantSuspendModifier:
active: true
empty-blocks: empty-blocks:
active: true active: true
EmptyCatchBlock: EmptyCatchBlock:
...@@ -75,7 +82,7 @@ empty-blocks: ...@@ -75,7 +82,7 @@ empty-blocks:
active: true active: true
EmptyFunctionBlock: EmptyFunctionBlock:
active: true active: true
ignoreOverriddenFunctions: true ignoreOverridden: true
EmptyIfBlock: EmptyIfBlock:
active: true active: true
EmptyInitBlock: EmptyInitBlock:
...@@ -122,22 +129,22 @@ exceptions: ...@@ -122,22 +129,22 @@ exceptions:
active: true active: true
excludes: "**/test/**,**/androidTest/**,**/*.Test.kt,**/*.Spec.kt,**/*.Spek.kt" excludes: "**/test/**,**/androidTest/**,**/*.Test.kt,**/*.Spec.kt,**/*.Spek.kt"
exceptionNames: exceptionNames:
- ArrayIndexOutOfBoundsException - ArrayIndexOutOfBoundsException
- Error - Error
- Exception - Exception
- IllegalMonitorStateException - IllegalMonitorStateException
- NullPointerException - NullPointerException
- IndexOutOfBoundsException - IndexOutOfBoundsException
- RuntimeException - RuntimeException
- Throwable - Throwable
allowedExceptionNameRegex: "^(_|(ignore|expected).*)" allowedExceptionNameRegex: "^(_|(ignore|expected).*)"
TooGenericExceptionThrown: TooGenericExceptionThrown:
active: true active: true
exceptionNames: exceptionNames:
- Error - Error
- Exception - Exception
- Throwable - Throwable
- RuntimeException - RuntimeException
formatting: formatting:
active: true active: true
...@@ -151,6 +158,9 @@ formatting: ...@@ -151,6 +158,9 @@ formatting:
autoCorrect: true autoCorrect: true
CommentSpacing: CommentSpacing:
active: false active: false
EnumEntryNameCase:
active: true
autoCorrect: false
Filename: Filename:
active: true active: true
FinalNewline: FinalNewline:
...@@ -180,6 +190,9 @@ formatting: ...@@ -180,6 +190,9 @@ formatting:
NoEmptyClassBody: NoEmptyClassBody:
active: true active: true
autoCorrect: true autoCorrect: true
NoEmptyFirstLineInMethodBlock:
active: true
autoCorrect: true
NoLineBreakAfterElse: NoLineBreakAfterElse:
active: true active: true
autoCorrect: true autoCorrect: true
...@@ -261,9 +274,7 @@ naming: ...@@ -261,9 +274,7 @@ naming:
excludes: "**/test/**,**/androidTest/**,**/*.Test.kt,**/*.Spec.kt,**/*.Spek.kt" excludes: "**/test/**,**/androidTest/**,**/*.Test.kt,**/*.Spec.kt,**/*.Spek.kt"
maximumFunctionNameLength: 30 maximumFunctionNameLength: 30
FunctionMinLength: FunctionMinLength:
active: true active: false
excludes: "**/test/**,**/androidTest/**,**/*.Test.kt,**/*.Spec.kt,**/*.Spek.kt"
minimumFunctionNameLength: 3
FunctionNaming: FunctionNaming:
active: true active: true
excludes: "**/test/**,**/androidTest/**,**/*.Test.kt,**/*.Spec.kt,**/*.Spek.kt" excludes: "**/test/**,**/androidTest/**,**/*.Test.kt,**/*.Spec.kt,**/*.Spek.kt"
...@@ -275,7 +286,7 @@ naming: ...@@ -275,7 +286,7 @@ naming:
excludes: "**/test/**,**/androidTest/**,**/*.Test.kt,**/*.Spec.kt,**/*.Spek.kt" excludes: "**/test/**,**/androidTest/**,**/*.Test.kt,**/*.Spec.kt,**/*.Spek.kt"
parameterPattern: '[a-z][A-Za-z0-9]*' parameterPattern: '[a-z][A-Za-z0-9]*'
excludeClassPattern: '$^' excludeClassPattern: '$^'
ignoreOverriddenFunctions: true ignoreOverridden: true
InvalidPackageDeclaration: InvalidPackageDeclaration:
active: true active: true
rootPackage: '' rootPackage: ''
...@@ -381,6 +392,8 @@ style: ...@@ -381,6 +392,8 @@ style:
active: true active: true
EqualsOnSignatureLine: EqualsOnSignatureLine:
active: true active: true
ExplicitCollectionElementAccessMethod:
active: true
ExplicitItLambdaParameter: ExplicitItLambdaParameter:
active: true active: true
ExpressionBodySyntax: ExpressionBodySyntax:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment