diff --git a/TMessagesProj/build.gradle b/TMessagesProj/build.gradle index 75ccdfc46..a2993c48f 100644 --- a/TMessagesProj/build.gradle +++ b/TMessagesProj/build.gradle @@ -390,7 +390,7 @@ def playCoreVersion = "1.10.0" dependencies { implementation "androidx.browser:browser:1.3.0" - implementation "androidx.core:core-ktx:1.6.0-alpha02" + implementation 'androidx.core:core-ktx:1.6.0-alpha03' implementation "androidx.palette:palette-ktx:1.0.0" implementation "androidx.viewpager:viewpager:1.0.0" implementation "androidx.exifinterface:exifinterface:1.3.2" @@ -399,7 +399,7 @@ dependencies { implementation "androidx.multidex:multidex:2.0.1" implementation "androidx.sharetarget:sharetarget:1.1.0" - compileOnly "org.checkerframework:checker-qual:3.12.0" + compileOnly 'org.checkerframework:checker-qual:3.13.0' compileOnly "org.checkerframework:checker-compat-qual:2.5.5" // don"t change this :) @@ -408,16 +408,16 @@ dependencies { implementation "com.google.code.gson:gson:2.8.6" implementation "org.osmdroid:osmdroid-android:6.1.10" - implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.4.32" - implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.3" + implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.5.0" + implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.5.0' implementation "com.squareup.okhttp3:okhttp:$okHttpVersion" implementation "dnsjava:dnsjava:3.3.1" implementation "org.dizitart:nitrite:3.4.3" - implementation "cn.hutool:hutool-core:5.6.3" - implementation "cn.hutool:hutool-crypto:5.6.3" - implementation "cn.hutool:hutool-http:5.6.3" + implementation "cn.hutool:hutool-core:5.6.4" + implementation "cn.hutool:hutool-crypto:5.6.4" + implementation "cn.hutool:hutool-http:5.6.4" implementation "com.jakewharton:process-phoenix:2.0.0" compileOnly "org.yaml:snakeyaml:1.28" diff --git a/TMessagesProj/src/main/java/tw/nekomimi/nekogram/parts/Signtures.kt b/TMessagesProj/src/main/java/tw/nekomimi/nekogram/parts/Signtures.kt index b595159d7..adbc8f38f 100644 --- a/TMessagesProj/src/main/java/tw/nekomimi/nekogram/parts/Signtures.kt +++ b/TMessagesProj/src/main/java/tw/nekomimi/nekogram/parts/Signtures.kt @@ -29,7 +29,7 @@ fun Context.getSha256Signature(packageName: String): String { } else { appInfo.signatures[0].toByteArray() } - ).toUpperCase() + ).uppercase() } fun Context.isVerified(): Boolean { diff --git a/build.gradle b/build.gradle index 3bcaa8ac8..4cfdd18a8 100644 --- a/build.gradle +++ b/build.gradle @@ -8,12 +8,12 @@ buildscript { } dependencies { classpath 'com.android.tools.build:gradle:4.1.3' - classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.4.32' + classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.0' classpath 'com.google.gms:google-services:4.3.5' classpath 'com.google.firebase:firebase-crashlytics-gradle:2.5.2' classpath 'gradle.plugin.org.mozilla.rust-android-gradle:plugin:0.8.3' classpath 'com.github.triplet.gradle:play-publisher:3.0.0' - classpath 'cn.hutool:hutool-core:5.6.3' + classpath 'cn.hutool:hutool-core:5.6.4' } }