Update dependencies
This commit is contained in:
21
detekt.yml
21
detekt.yml
@@ -1,4 +1,4 @@
|
||||
# https://github.com/arturbosch/detekt/blob/1.1.1/detekt-cli/src/main/resources/default-detekt-config.yml
|
||||
# https://github.com/arturbosch/detekt/blob/1.3.1/detekt-cli/src/main/resources/default-detekt-config.yml
|
||||
|
||||
comments:
|
||||
active: false
|
||||
@@ -14,9 +14,11 @@ complexity:
|
||||
includeStaticDeclarations: false
|
||||
ComplexMethod:
|
||||
active: true
|
||||
threshold: 10
|
||||
threshold: 15
|
||||
ignoreSingleWhenExpression: false
|
||||
ignoreSimpleWhenEntries: false
|
||||
ignoreNestingFunctions: false
|
||||
nestingFunctions: run,let,apply,with,also,use,forEach,isNotNull,ifNull
|
||||
LabeledExpression:
|
||||
active: false
|
||||
ignoredLabels: ""
|
||||
@@ -245,6 +247,7 @@ naming:
|
||||
parameterPattern: '[a-z][A-Za-z0-9]*'
|
||||
privateParameterPattern: '[a-z][A-Za-z0-9]*'
|
||||
excludeClassPattern: '$^'
|
||||
ignoreOverridden: true
|
||||
EnumNaming:
|
||||
active: true
|
||||
excludes: "**/test/**,**/androidTest/**,**/*.Test.kt,**/*.Spec.kt,**/*.Spek.kt"
|
||||
@@ -337,6 +340,8 @@ potential-bugs:
|
||||
active: true
|
||||
HasPlatformType:
|
||||
active: true
|
||||
ImplicitDefaultLocale:
|
||||
active: true
|
||||
InvalidRange:
|
||||
active: true
|
||||
IteratorHasNextCallsNextMethod:
|
||||
@@ -345,6 +350,8 @@ potential-bugs:
|
||||
active: true
|
||||
LateinitUsage:
|
||||
active: false
|
||||
MapGetWithNotNullAssertionOperator:
|
||||
active: true
|
||||
MissingWhenCase:
|
||||
active: false
|
||||
RedundantElseInWhen:
|
||||
@@ -354,7 +361,7 @@ potential-bugs:
|
||||
UnreachableCode:
|
||||
active: true
|
||||
UnsafeCallOnNullableType:
|
||||
active: false
|
||||
active: true
|
||||
UnsafeCast:
|
||||
active: false
|
||||
UselessPostfixExpression:
|
||||
@@ -387,6 +394,12 @@ style:
|
||||
active: true
|
||||
imports: ''
|
||||
forbiddenPatterns: ""
|
||||
ForbiddenMethodCall:
|
||||
active: true
|
||||
methods: ''
|
||||
ForbiddenPublicDataClass:
|
||||
active: true
|
||||
ignorePackages: '*.internal,*.internal.*'
|
||||
ForbiddenVoid:
|
||||
active: true
|
||||
ignoreOverridden: true
|
||||
@@ -453,6 +466,8 @@ style:
|
||||
UnnecessaryAbstractClass:
|
||||
active: true
|
||||
excludeAnnotatedClasses: "dagger.Module"
|
||||
UnnecessaryAnnotationUseSiteTarget:
|
||||
active: true
|
||||
UnnecessaryApply:
|
||||
active: true
|
||||
UnnecessaryInheritance:
|
||||
|
||||
@@ -14,7 +14,7 @@ def aux = [
|
||||
'com.google.firebase:firebase-analytics:17.2.1',
|
||||
]
|
||||
def lifecycleVersion = '2.2.0-rc03'
|
||||
def roomVersion = '2.2.2'
|
||||
def roomVersion = '2.2.3'
|
||||
|
||||
android {
|
||||
compileSdkVersion 29
|
||||
@@ -75,7 +75,7 @@ androidExtensions {
|
||||
dependencies {
|
||||
kapt "androidx.room:room-compiler:$roomVersion"
|
||||
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
||||
implementation 'androidx.browser:browser:1.2.0-rc01'
|
||||
implementation 'androidx.browser:browser:1.2.0'
|
||||
implementation 'androidx.core:core-ktx:1.1.0'
|
||||
implementation 'androidx.emoji:emoji:1.0.0'
|
||||
implementation "androidx.lifecycle:lifecycle-common-java8:$lifecycleVersion"
|
||||
@@ -88,7 +88,7 @@ dependencies {
|
||||
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.0.0'
|
||||
implementation 'com.android.billingclient:billing-ktx:2.1.0'
|
||||
implementation 'com.github.topjohnwu.libsu:core:2.5.1'
|
||||
implementation 'com.google.android.material:material:1.1.0-beta02'
|
||||
implementation 'com.google.android.material:material:1.1.0-rc01'
|
||||
implementation 'com.google.zxing:core:3.4.0'
|
||||
implementation 'com.jakewharton.timber:timber:4.7.1'
|
||||
implementation 'com.linkedin.dexmaker:dexmaker:2.25.1'
|
||||
@@ -100,7 +100,7 @@ dependencies {
|
||||
freedomImplementation dep
|
||||
googleImplementation dep
|
||||
}
|
||||
testImplementation 'junit:junit:4.12'
|
||||
testImplementation 'junit:junit:4.13'
|
||||
androidTestImplementation "androidx.room:room-testing:$roomVersion"
|
||||
androidTestImplementation 'androidx.test:runner:1.2.0'
|
||||
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
|
||||
|
||||
Reference in New Issue
Block a user