Update dependencies
This commit is contained in:
@@ -11,7 +11,7 @@ buildscript {
|
|||||||
dependencies {
|
dependencies {
|
||||||
classpath(kotlin("gradle-plugin", "1.6.0"))
|
classpath(kotlin("gradle-plugin", "1.6.0"))
|
||||||
classpath("com.android.tools.build:gradle:7.1.0-beta04")
|
classpath("com.android.tools.build:gradle:7.1.0-beta04")
|
||||||
classpath("com.google.firebase:firebase-crashlytics-gradle:2.8.0")
|
classpath("com.google.firebase:firebase-crashlytics-gradle:2.8.1")
|
||||||
classpath("com.google.android.gms:oss-licenses-plugin:0.10.4")
|
classpath("com.google.android.gms:oss-licenses-plugin:0.10.4")
|
||||||
classpath("com.google.gms:google-services:4.3.10")
|
classpath("com.google.gms:google-services:4.3.10")
|
||||||
}
|
}
|
||||||
|
|||||||
21
detekt.yml
21
detekt.yml
@@ -37,14 +37,13 @@ complexity:
|
|||||||
LongMethod:
|
LongMethod:
|
||||||
active: true
|
active: true
|
||||||
threshold: 60
|
threshold: 60
|
||||||
ignoreAnnotated: []
|
|
||||||
LongParameterList:
|
LongParameterList:
|
||||||
active: true
|
active: true
|
||||||
functionThreshold: 6
|
functionThreshold: 6
|
||||||
constructorThreshold: 7
|
constructorThreshold: 7
|
||||||
ignoreDefaultParameters: true
|
ignoreDefaultParameters: true
|
||||||
ignoreDataClasses: true
|
ignoreDataClasses: true
|
||||||
ignoreAnnotated: []
|
ignoreAnnotatedParameter: []
|
||||||
MethodOverloading:
|
MethodOverloading:
|
||||||
active: false
|
active: false
|
||||||
NamedArguments:
|
NamedArguments:
|
||||||
@@ -77,6 +76,8 @@ coroutines:
|
|||||||
active: true
|
active: true
|
||||||
GlobalCoroutineUsage:
|
GlobalCoroutineUsage:
|
||||||
active: false
|
active: false
|
||||||
|
InjectDispatcher:
|
||||||
|
active: false
|
||||||
RedundantSuspendModifier:
|
RedundantSuspendModifier:
|
||||||
active: true
|
active: true
|
||||||
SleepInsteadOfDelay:
|
SleepInsteadOfDelay:
|
||||||
@@ -334,8 +335,6 @@ naming:
|
|||||||
functionPattern: '([a-z][a-zA-Z0-9]*)|(`.*`)'
|
functionPattern: '([a-z][a-zA-Z0-9]*)|(`.*`)'
|
||||||
excludeClassPattern: '$^'
|
excludeClassPattern: '$^'
|
||||||
ignoreOverridden: true
|
ignoreOverridden: true
|
||||||
ignoreAnnotated:
|
|
||||||
- 'Composable'
|
|
||||||
FunctionParameterNaming:
|
FunctionParameterNaming:
|
||||||
active: true
|
active: true
|
||||||
excludes: ['**/test/**', '**/androidTest/**', '**/commonTest/**', '**/jvmTest/**', '**/jsTest/**', '**/iosTest/**']
|
excludes: ['**/test/**', '**/androidTest/**', '**/commonTest/**', '**/jvmTest/**', '**/jsTest/**', '**/iosTest/**']
|
||||||
@@ -344,8 +343,11 @@ naming:
|
|||||||
ignoreOverridden: true
|
ignoreOverridden: true
|
||||||
InvalidPackageDeclaration:
|
InvalidPackageDeclaration:
|
||||||
active: true
|
active: true
|
||||||
excludes: ['buildSrc/**', '**/*.kts']
|
|
||||||
rootPackage: ''
|
rootPackage: ''
|
||||||
|
LambdaParameterNaming:
|
||||||
|
active: true
|
||||||
|
excludes: ['**/test/**', '**/androidTest/**', '**/commonTest/**', '**/jvmTest/**', '**/jsTest/**', '**/iosTest/**']
|
||||||
|
parameterPattern: '[a-z][A-Za-z0-9]*|_'
|
||||||
MatchingDeclarationName:
|
MatchingDeclarationName:
|
||||||
active: true
|
active: true
|
||||||
mustBeFirst: true
|
mustBeFirst: true
|
||||||
@@ -446,6 +448,9 @@ potential-bugs:
|
|||||||
active: false
|
active: false
|
||||||
MapGetWithNotNullAssertionOperator:
|
MapGetWithNotNullAssertionOperator:
|
||||||
active: true
|
active: true
|
||||||
|
MissingPackageDeclaration:
|
||||||
|
active: true
|
||||||
|
excludes: ['buildSrc/**', '**/*.kts']
|
||||||
MissingWhenCase:
|
MissingWhenCase:
|
||||||
active: false
|
active: false
|
||||||
NullableToStringCall:
|
NullableToStringCall:
|
||||||
@@ -464,6 +469,7 @@ potential-bugs:
|
|||||||
active: true
|
active: true
|
||||||
UnsafeCallOnNullableType:
|
UnsafeCallOnNullableType:
|
||||||
active: true
|
active: true
|
||||||
|
excludes: ['**/test/**', '**/androidTest/**', '**/commonTest/**', '**/jvmTest/**', '**/jsTest/**', '**/iosTest/**']
|
||||||
UnsafeCast:
|
UnsafeCast:
|
||||||
active: true
|
active: true
|
||||||
UnusedUnaryOperator:
|
UnusedUnaryOperator:
|
||||||
@@ -503,6 +509,7 @@ style:
|
|||||||
- 'STOPSHIP:'
|
- 'STOPSHIP:'
|
||||||
- 'TODO:'
|
- 'TODO:'
|
||||||
allowedPatterns: ''
|
allowedPatterns: ''
|
||||||
|
customMessage: ''
|
||||||
ForbiddenImport:
|
ForbiddenImport:
|
||||||
active: true
|
active: true
|
||||||
imports: []
|
imports: []
|
||||||
@@ -527,8 +534,6 @@ style:
|
|||||||
ignoreOverridableFunction: true
|
ignoreOverridableFunction: true
|
||||||
ignoreActualFunction: true
|
ignoreActualFunction: true
|
||||||
excludedFunctions: ''
|
excludedFunctions: ''
|
||||||
excludeAnnotatedFunction:
|
|
||||||
- 'dagger.Provides'
|
|
||||||
LibraryCodeMustSpecifyReturnType:
|
LibraryCodeMustSpecifyReturnType:
|
||||||
active: true
|
active: true
|
||||||
excludes: ['**']
|
excludes: ['**']
|
||||||
@@ -619,6 +624,8 @@ style:
|
|||||||
UnusedPrivateMember:
|
UnusedPrivateMember:
|
||||||
active: true
|
active: true
|
||||||
allowedNames: '(_|ignored|expected|serialVersionUID)'
|
allowedNames: '(_|ignored|expected|serialVersionUID)'
|
||||||
|
UseAnyOrNoneInsteadOfFind:
|
||||||
|
active: true
|
||||||
UseArrayLiteralsInAnnotations:
|
UseArrayLiteralsInAnnotations:
|
||||||
active: true
|
active: true
|
||||||
UseCheckNotNull:
|
UseCheckNotNull:
|
||||||
|
|||||||
@@ -67,7 +67,7 @@ android {
|
|||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
val lifecycleVersion = "2.4.0"
|
val lifecycleVersion = "2.4.0"
|
||||||
val roomVersion = "2.4.0-beta02"
|
val roomVersion = "2.4.0-rc01"
|
||||||
|
|
||||||
coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:1.1.5")
|
coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:1.1.5")
|
||||||
kapt("androidx.room:room-compiler:$roomVersion")
|
kapt("androidx.room:room-compiler:$roomVersion")
|
||||||
@@ -85,7 +85,7 @@ dependencies {
|
|||||||
implementation("com.google.android.gms:play-services-oss-licenses:17.0.0")
|
implementation("com.google.android.gms:play-services-oss-licenses:17.0.0")
|
||||||
implementation("com.google.android.material:material:1.5.0-beta01")
|
implementation("com.google.android.material:material:1.5.0-beta01")
|
||||||
implementation("com.google.firebase:firebase-analytics-ktx:20.0.0")
|
implementation("com.google.firebase:firebase-analytics-ktx:20.0.0")
|
||||||
implementation("com.google.firebase:firebase-crashlytics:18.2.4")
|
implementation("com.google.firebase:firebase-crashlytics:18.2.5")
|
||||||
implementation("com.google.zxing:core:3.4.1")
|
implementation("com.google.zxing:core:3.4.1")
|
||||||
implementation("com.jakewharton.timber:timber:5.0.1")
|
implementation("com.jakewharton.timber:timber:5.0.1")
|
||||||
implementation("com.linkedin.dexmaker:dexmaker:2.28.1")
|
implementation("com.linkedin.dexmaker:dexmaker:2.28.1")
|
||||||
|
|||||||
Reference in New Issue
Block a user