Update dependencies
This commit is contained in:
@@ -11,7 +11,7 @@ buildscript {
|
||||
dependencies {
|
||||
classpath(kotlin("gradle-plugin", "1.6.0"))
|
||||
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.gms:google-services:4.3.10")
|
||||
}
|
||||
|
||||
21
detekt.yml
21
detekt.yml
@@ -37,14 +37,13 @@ complexity:
|
||||
LongMethod:
|
||||
active: true
|
||||
threshold: 60
|
||||
ignoreAnnotated: []
|
||||
LongParameterList:
|
||||
active: true
|
||||
functionThreshold: 6
|
||||
constructorThreshold: 7
|
||||
ignoreDefaultParameters: true
|
||||
ignoreDataClasses: true
|
||||
ignoreAnnotated: []
|
||||
ignoreAnnotatedParameter: []
|
||||
MethodOverloading:
|
||||
active: false
|
||||
NamedArguments:
|
||||
@@ -77,6 +76,8 @@ coroutines:
|
||||
active: true
|
||||
GlobalCoroutineUsage:
|
||||
active: false
|
||||
InjectDispatcher:
|
||||
active: false
|
||||
RedundantSuspendModifier:
|
||||
active: true
|
||||
SleepInsteadOfDelay:
|
||||
@@ -334,8 +335,6 @@ naming:
|
||||
functionPattern: '([a-z][a-zA-Z0-9]*)|(`.*`)'
|
||||
excludeClassPattern: '$^'
|
||||
ignoreOverridden: true
|
||||
ignoreAnnotated:
|
||||
- 'Composable'
|
||||
FunctionParameterNaming:
|
||||
active: true
|
||||
excludes: ['**/test/**', '**/androidTest/**', '**/commonTest/**', '**/jvmTest/**', '**/jsTest/**', '**/iosTest/**']
|
||||
@@ -344,8 +343,11 @@ naming:
|
||||
ignoreOverridden: true
|
||||
InvalidPackageDeclaration:
|
||||
active: true
|
||||
excludes: ['buildSrc/**', '**/*.kts']
|
||||
rootPackage: ''
|
||||
LambdaParameterNaming:
|
||||
active: true
|
||||
excludes: ['**/test/**', '**/androidTest/**', '**/commonTest/**', '**/jvmTest/**', '**/jsTest/**', '**/iosTest/**']
|
||||
parameterPattern: '[a-z][A-Za-z0-9]*|_'
|
||||
MatchingDeclarationName:
|
||||
active: true
|
||||
mustBeFirst: true
|
||||
@@ -446,6 +448,9 @@ potential-bugs:
|
||||
active: false
|
||||
MapGetWithNotNullAssertionOperator:
|
||||
active: true
|
||||
MissingPackageDeclaration:
|
||||
active: true
|
||||
excludes: ['buildSrc/**', '**/*.kts']
|
||||
MissingWhenCase:
|
||||
active: false
|
||||
NullableToStringCall:
|
||||
@@ -464,6 +469,7 @@ potential-bugs:
|
||||
active: true
|
||||
UnsafeCallOnNullableType:
|
||||
active: true
|
||||
excludes: ['**/test/**', '**/androidTest/**', '**/commonTest/**', '**/jvmTest/**', '**/jsTest/**', '**/iosTest/**']
|
||||
UnsafeCast:
|
||||
active: true
|
||||
UnusedUnaryOperator:
|
||||
@@ -503,6 +509,7 @@ style:
|
||||
- 'STOPSHIP:'
|
||||
- 'TODO:'
|
||||
allowedPatterns: ''
|
||||
customMessage: ''
|
||||
ForbiddenImport:
|
||||
active: true
|
||||
imports: []
|
||||
@@ -527,8 +534,6 @@ style:
|
||||
ignoreOverridableFunction: true
|
||||
ignoreActualFunction: true
|
||||
excludedFunctions: ''
|
||||
excludeAnnotatedFunction:
|
||||
- 'dagger.Provides'
|
||||
LibraryCodeMustSpecifyReturnType:
|
||||
active: true
|
||||
excludes: ['**']
|
||||
@@ -619,6 +624,8 @@ style:
|
||||
UnusedPrivateMember:
|
||||
active: true
|
||||
allowedNames: '(_|ignored|expected|serialVersionUID)'
|
||||
UseAnyOrNoneInsteadOfFind:
|
||||
active: true
|
||||
UseArrayLiteralsInAnnotations:
|
||||
active: true
|
||||
UseCheckNotNull:
|
||||
|
||||
@@ -67,7 +67,7 @@ android {
|
||||
|
||||
dependencies {
|
||||
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")
|
||||
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.material:material:1.5.0-beta01")
|
||||
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.jakewharton.timber:timber:5.0.1")
|
||||
implementation("com.linkedin.dexmaker:dexmaker:2.28.1")
|
||||
|
||||
Reference in New Issue
Block a user