Update dependencies

This commit is contained in:
世界 2023-12-07 22:07:17 +08:00
parent eb3bdfa415
commit 96e369e829
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
3 changed files with 12 additions and 7 deletions

View file

@ -60,6 +60,8 @@ android {
abi {
enable true
universalApk true
reset()
include "armeabi-v7a", "arm64-v8a", "x86", "x86_64"
}
}
@ -93,12 +95,12 @@ dependencies {
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.2'
implementation 'androidx.navigation:navigation-fragment-ktx:2.7.5'
implementation 'androidx.navigation:navigation-ui-ktx:2.7.5'
implementation 'androidx.room:room-runtime:2.6.0'
implementation 'androidx.room:room-runtime:2.6.1'
implementation 'androidx.coordinatorlayout:coordinatorlayout:1.2.0'
implementation 'androidx.preference:preference-ktx:1.2.1'
ksp 'androidx.room:room-compiler:2.6.0'
implementation 'androidx.work:work-runtime-ktx:2.8.1'
implementation 'androidx.browser:browser:1.6.0'
ksp 'androidx.room:room-compiler:2.6.1'
implementation 'androidx.work:work-runtime-ktx:2.9.0'
implementation 'androidx.browser:browser:1.7.0'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.3'
// DO NOT UPDATE (minSdkVersion updated)

View file

@ -20,6 +20,7 @@ import io.nekohasekai.libbox.Libbox
import io.nekohasekai.libbox.PlatformInterface
import io.nekohasekai.libbox.SystemProxyStatus
import io.nekohasekai.sfa.Application
import io.nekohasekai.sfa.BuildConfig
import io.nekohasekai.sfa.constant.Action
import io.nekohasekai.sfa.constant.Alert
import io.nekohasekai.sfa.constant.Status
@ -50,7 +51,9 @@ class BoxService(
val tempDir = Application.application.cacheDir
tempDir.mkdirs()
Libbox.setup(baseDir.path, workingDir.path, tempDir.path, false)
Libbox.redirectStderr(File(workingDir, "stderr.log").path)
if (!BuildConfig.DEBUG) {
Libbox.redirectStderr(File(workingDir, "stderr.log").path)
}
initializeOnce = true
return
}

View file

@ -6,8 +6,8 @@ buildscript {
}
plugins {
id 'com.android.application' version '8.1.4' apply false
id 'com.android.library' version '8.1.4' apply false
id 'com.android.application' version '8.2.0' apply false
id 'com.android.library' version '8.2.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.github.triplet.play' version '3.8.4' apply false