Commit 31cb7a0d authored by Mygod's avatar Mygod

Update dependencies

parent 5fe3ff77
...@@ -10,7 +10,7 @@ buildscript { ...@@ -10,7 +10,7 @@ buildscript {
sdkVersion = 29 sdkVersion = 29
compileSdkVersion = 29 compileSdkVersion = 29
lifecycleVersion = '2.2.0-rc03' lifecycleVersion = '2.2.0-rc03'
junitVersion = '4.12' junitVersion = '4.13'
androidTestVersion = '1.2.0' androidTestVersion = '1.2.0'
androidEspressoVersion = '3.2.0' androidEspressoVersion = '3.2.0'
versionCode = 4080750 versionCode = 4080750
......
...@@ -49,7 +49,7 @@ androidExtensions { ...@@ -49,7 +49,7 @@ androidExtensions {
} }
def coroutinesVersion = '1.3.3' def coroutinesVersion = '1.3.3'
def roomVersion = '2.2.2' def roomVersion = '2.2.3'
def workVersion = '2.2.0' def workVersion = '2.2.0'
dependencies { dependencies {
api project(':plugin') api project(':plugin')
...@@ -64,7 +64,7 @@ dependencies { ...@@ -64,7 +64,7 @@ dependencies {
api 'com.crashlytics.sdk.android:crashlytics:2.10.1' api 'com.crashlytics.sdk.android:crashlytics:2.10.1'
api 'com.google.code.gson:gson:2.8.6' api 'com.google.code.gson:gson:2.8.6'
api 'com.google.firebase:firebase-analytics:17.2.1' api 'com.google.firebase:firebase-analytics:17.2.1'
api 'com.google.firebase:firebase-config:19.0.4' api 'com.google.firebase:firebase-config:19.1.0'
api 'dnsjava:dnsjava:2.1.9' api 'dnsjava:dnsjava:2.1.9'
api "org.jetbrains.kotlinx:kotlinx-coroutines-android:$coroutinesVersion" api "org.jetbrains.kotlinx:kotlinx-coroutines-android:$coroutinesVersion"
api "org.jetbrains.kotlinx:kotlinx-coroutines-play-services:$coroutinesVersion" api "org.jetbrains.kotlinx:kotlinx-coroutines-play-services:$coroutinesVersion"
......
# 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: comments:
active: false active: false
...@@ -14,9 +14,11 @@ complexity: ...@@ -14,9 +14,11 @@ complexity:
includeStaticDeclarations: false includeStaticDeclarations: false
ComplexMethod: ComplexMethod:
active: true active: true
threshold: 10 threshold: 15
ignoreSingleWhenExpression: false ignoreSingleWhenExpression: false
ignoreSimpleWhenEntries: false ignoreSimpleWhenEntries: false
ignoreNestingFunctions: false
nestingFunctions: run,let,apply,with,also,use,forEach,isNotNull,ifNull
LabeledExpression: LabeledExpression:
active: false active: false
ignoredLabels: "" ignoredLabels: ""
...@@ -245,6 +247,7 @@ naming: ...@@ -245,6 +247,7 @@ naming:
parameterPattern: '[a-z][A-Za-z0-9]*' parameterPattern: '[a-z][A-Za-z0-9]*'
privateParameterPattern: '[a-z][A-Za-z0-9]*' privateParameterPattern: '[a-z][A-Za-z0-9]*'
excludeClassPattern: '$^' excludeClassPattern: '$^'
ignoreOverridden: true
EnumNaming: EnumNaming:
active: true active: true
excludes: "**/test/**,**/androidTest/**,**/*.Test.kt,**/*.Spec.kt,**/*.Spek.kt" excludes: "**/test/**,**/androidTest/**,**/*.Test.kt,**/*.Spec.kt,**/*.Spek.kt"
...@@ -337,6 +340,8 @@ potential-bugs: ...@@ -337,6 +340,8 @@ potential-bugs:
active: true active: true
HasPlatformType: HasPlatformType:
active: true active: true
ImplicitDefaultLocale:
active: true
InvalidRange: InvalidRange:
active: true active: true
IteratorHasNextCallsNextMethod: IteratorHasNextCallsNextMethod:
...@@ -345,6 +350,8 @@ potential-bugs: ...@@ -345,6 +350,8 @@ potential-bugs:
active: true active: true
LateinitUsage: LateinitUsage:
active: false active: false
MapGetWithNotNullAssertionOperator:
active: true
MissingWhenCase: MissingWhenCase:
active: false active: false
RedundantElseInWhen: RedundantElseInWhen:
...@@ -354,7 +361,7 @@ potential-bugs: ...@@ -354,7 +361,7 @@ potential-bugs:
UnreachableCode: UnreachableCode:
active: true active: true
UnsafeCallOnNullableType: UnsafeCallOnNullableType:
active: false active: true
UnsafeCast: UnsafeCast:
active: false active: false
UselessPostfixExpression: UselessPostfixExpression:
...@@ -387,6 +394,12 @@ style: ...@@ -387,6 +394,12 @@ style:
active: true active: true
imports: '' imports: ''
forbiddenPatterns: "" forbiddenPatterns: ""
ForbiddenMethodCall:
active: true
methods: ''
ForbiddenPublicDataClass:
active: true
ignorePackages: '*.internal,*.internal.*'
ForbiddenVoid: ForbiddenVoid:
active: true active: true
ignoreOverridden: true ignoreOverridden: true
...@@ -453,6 +466,8 @@ style: ...@@ -453,6 +466,8 @@ style:
UnnecessaryAbstractClass: UnnecessaryAbstractClass:
active: true active: true
excludeAnnotatedClasses: "dagger.Module" excludeAnnotatedClasses: "dagger.Module"
UnnecessaryAnnotationUseSiteTarget:
active: true
UnnecessaryApply: UnnecessaryApply:
active: true active: true
UnnecessaryInheritance: UnnecessaryInheritance:
......
...@@ -60,8 +60,8 @@ androidExtensions { ...@@ -60,8 +60,8 @@ androidExtensions {
dependencies { dependencies {
implementation project(':core') implementation project(':core')
implementation 'androidx.browser:browser:1.2.0-rc01' implementation 'androidx.browser:browser:1.2.0'
implementation 'androidx.constraintlayout:constraintlayout:2.0.0-beta3' implementation 'androidx.constraintlayout:constraintlayout:2.0.0-beta4'
implementation "androidx.lifecycle:lifecycle-runtime-ktx:$lifecycleVersion" implementation "androidx.lifecycle:lifecycle-runtime-ktx:$lifecycleVersion"
implementation 'com.google.android.gms:play-services-vision:19.0.0' implementation 'com.google.android.gms:play-services-vision:19.0.0'
implementation 'com.google.firebase:firebase-ads:18.3.0' implementation 'com.google.firebase:firebase-ads:18.3.0'
......
* 1.3.2: * 1.3.2:
* Fix first key-value pair disappearing with null value. (#2391) * Fix first key-value pair disappearing with null value. (#2391)
* Dependency updates:
- `com.google.android.material:material:1.1.0-rc01`;
- `org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.3.61`.
* 1.3.1: * 1.3.1:
* New theme resource `Theme.Shadowsocks.Immersive` for better Android Q-esque translucent navigation bars. * New theme resource `Theme.Shadowsocks.Immersive` for better Android Q-esque translucent navigation bars.
This is an opt-in feature. This is an opt-in feature.
......
...@@ -57,7 +57,7 @@ mavenPublish { ...@@ -57,7 +57,7 @@ mavenPublish {
dependencies { dependencies {
api 'androidx.core:core-ktx:1.1.0' api 'androidx.core:core-ktx:1.1.0'
api 'androidx.drawerlayout:drawerlayout:1.1.0-alpha03' // https://android-developers.googleblog.com/2019/07/android-q-beta-5-update.html api 'androidx.drawerlayout:drawerlayout:1.1.0-alpha03' // https://android-developers.googleblog.com/2019/07/android-q-beta-5-update.html
api 'com.google.android.material:material:1.1.0-beta02' api 'com.google.android.material:material:1.1.0-rc01'
api "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlinVersion" api "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlinVersion"
testImplementation "junit:junit:$junitVersion" testImplementation "junit:junit:$junitVersion"
androidTestImplementation "androidx.test:runner:$androidTestVersion" androidTestImplementation "androidx.test:runner:$androidTestVersion"
......
...@@ -56,7 +56,7 @@ android { ...@@ -56,7 +56,7 @@ android {
dependencies { dependencies {
implementation project(':core') implementation project(':core')
implementation fileTree(dir: 'libs', include: ['*.jar']) implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation "androidx.leanback:leanback-preference:1.1.0-alpha02" implementation 'androidx.leanback:leanback-preference:1.1.0-alpha03'
} }
apply plugin: 'com.google.gms.google-services' apply plugin: 'com.google.gms.google-services'
......
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