Update dependencies

This commit is contained in:
世界 committed 2023-10-03 09:37:59 +08:00
1 parent 7930d42994
commit fcafd5f956
3 files changed
+12 -7

No files matched your search

+5 -5
View File
@@ -76,14 +76,14 @@ android {
dependencies { dependencies {
implementation(fileTree('libs')) implementation(fileTree('libs'))
implementation 'androidx.core:core-ktx:1.10.1' implementation 'androidx.core:core-ktx:1.12.0'
implementation 'androidx.appcompat:appcompat:1.6.1' implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'com.google.android.material:material:1.9.0' implementation 'com.google.android.material:material:1.9.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4' implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.6.1' implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.6.2'
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.1' implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.2'
implementation 'androidx.navigation:navigation-fragment-ktx:2.7.0' implementation 'androidx.navigation:navigation-fragment-ktx:2.7.3'
implementation 'androidx.navigation:navigation-ui-ktx:2.7.0' implementation 'androidx.navigation:navigation-ui-ktx:2.7.3'
implementation 'androidx.room:room-runtime:2.5.2' implementation 'androidx.room:room-runtime:2.5.2'
implementation 'androidx.coordinatorlayout:coordinatorlayout:1.2.0' implementation 'androidx.coordinatorlayout:coordinatorlayout:1.2.0'
implementation 'androidx.preference:preference-ktx:1.2.1' implementation 'androidx.preference:preference-ktx:1.2.1'
@@ -32,6 +32,7 @@ open class CommandClient(
fun onDisconnected() {} fun onDisconnected() {}
fun updateStatus(status: StatusMessage) {} fun updateStatus(status: StatusMessage) {}
fun updateGroups(groups: List<OutboundGroup>) {} fun updateGroups(groups: List<OutboundGroup>) {}
fun clearLog() {}
fun appendLog(message: String) {} fun appendLog(message: String) {}
fun initializeClashMode(modeList: List<String>, currentMode: String) {} fun initializeClashMode(modeList: List<String>, currentMode: String) {}
fun updateClashMode(newMode: String) {} fun updateClashMode(newMode: String) {}
@@ -106,6 +107,10 @@ open class CommandClient(
handler.updateGroups(groups) handler.updateGroups(groups)
} }
override fun clearLog() {
handler.clearLog()
}
override fun writeLog(message: String?) { override fun writeLog(message: String?) {
if (message == null) { if (message == null) {
return return
+2 -2
View File
@@ -6,8 +6,8 @@ buildscript {
} }
plugins { plugins {
id 'com.android.application' version '8.1.1' apply false id 'com.android.application' version '8.1.2' apply false
id 'com.android.library' version '8.1.1' apply false id 'com.android.library' version '8.1.2' apply false
id 'org.jetbrains.kotlin.android' version '1.9.0' apply false id 'org.jetbrains.kotlin.android' version '1.9.0' apply false
id 'com.google.devtools.ksp' version '1.9.0-1.0.12' apply false id 'com.google.devtools.ksp' version '1.9.0-1.0.12' apply false
} }