chore: libs update

fix for wasm
This commit is contained in:
2025-01-11 07:25:50 +03:00
parent 386de94315
commit 79dddec48b
6 changed files with 9 additions and 6 deletions
+4
View File
@@ -21,12 +21,14 @@ kotlin {
wasmJs { wasmJs {
moduleName = "composeApp" moduleName = "composeApp"
browser { browser {
val rootDirPath = project.rootDir.path
val projectDirPath = project.projectDir.path val projectDirPath = project.projectDir.path
commonWebpackConfig { commonWebpackConfig {
outputFileName = "composeApp.js" outputFileName = "composeApp.js"
devServer = (devServer ?: KotlinWebpackConfig.DevServer()).apply { devServer = (devServer ?: KotlinWebpackConfig.DevServer()).apply {
static = (static ?: mutableListOf()).apply { static = (static ?: mutableListOf()).apply {
// Serve sources to debug inside browser // Serve sources to debug inside browser
add(rootDirPath)
add(projectDirPath) add(projectDirPath)
} }
} }
@@ -83,7 +85,9 @@ kotlin {
implementation(libs.koin.core) implementation(libs.koin.core)
implementation(libs.koin.compose) implementation(libs.koin.compose)
implementation(libs.koin.compose.viewmodel) implementation(libs.koin.compose.viewmodel)
implementation(libs.androidx.lifecycle.viewmodel)
implementation(libs.androidx.lifecycle.viewmodel.compose) implementation(libs.androidx.lifecycle.viewmodel.compose)
implementation(libs.androidx.lifecycle.runtime.compose)
implementation(libs.haze) implementation(libs.haze)
implementation(libs.haze.materials) implementation(libs.haze.materials)
implementation(libs.kstore) implementation(libs.kstore)
@@ -106,10 +106,7 @@ class RequestsScreen : Screen {
LazyColumn( LazyColumn(
modifier = Modifier modifier = Modifier
.fillMaxSize() .fillMaxSize()
.haze( .haze(state = hazeState)
state = hazeState,
style = hazeStyle
)
.pullToRefresh( .pullToRefresh(
isRefreshing = screenState.isLoading, isRefreshing = screenState.isLoading,
state = refreshState, state = refreshState,
@@ -6,7 +6,6 @@ import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.automirrored.rounded.ArrowBack import androidx.compose.material.icons.automirrored.rounded.ArrowBack
import androidx.compose.material3.* import androidx.compose.material3.*
import androidx.compose.runtime.Composable import androidx.compose.runtime.Composable
import androidx.compose.runtime.collectAsState
import androidx.compose.runtime.getValue import androidx.compose.runtime.getValue
import androidx.compose.ui.Alignment import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier import androidx.compose.ui.Modifier
-1
View File
@@ -7,7 +7,6 @@ org.gradle.parallel=true
#Kotlin #Kotlin
kotlin.code.style=official kotlin.code.style=official
kotlin.js.compiler=ir
kotlin.daemon.jvmargs=-Xmx4G kotlin.daemon.jvmargs=-Xmx4G
kotlin.native.ignoreDisabledTargets=true kotlin.native.ignoreDisabledTargets=true
+3
View File
@@ -3,6 +3,7 @@
kotlin = "2.0.20-RC" kotlin = "2.0.20-RC"
compose = "1.7.0-alpha02" compose = "1.7.0-alpha02"
agp = "8.2.0" agp = "8.2.0"
androidx-lifecycle = "2.8.4"
androidx-activityCompose = "1.9.1" androidx-activityCompose = "1.9.1"
androidx-uiTest = "1.6.8" androidx-uiTest = "1.6.8"
voyager = "1.1.0-beta02" voyager = "1.1.0-beta02"
@@ -21,6 +22,8 @@ napier = "2.7.1"
androidx-activityCompose = { module = "androidx.activity:activity-compose", version.ref = "androidx-activityCompose" } androidx-activityCompose = { module = "androidx.activity:activity-compose", version.ref = "androidx-activityCompose" }
androidx-lifecycle-viewmodel-compose = { module = "org.jetbrains.androidx.lifecycle:lifecycle-viewmodel-compose", version.ref = "viewmodel-compose" } androidx-lifecycle-viewmodel-compose = { module = "org.jetbrains.androidx.lifecycle:lifecycle-viewmodel-compose", version.ref = "viewmodel-compose" }
androidx-lifecycle-viewmodel = { group = "org.jetbrains.androidx.lifecycle", name = "lifecycle-viewmodel", version.ref = "androidx-lifecycle" }
androidx-lifecycle-runtime-compose = { group = "org.jetbrains.androidx.lifecycle", name = "lifecycle-runtime-compose", version.ref = "androidx-lifecycle" }
androidx-uitest-testManifest = { module = "androidx.compose.ui:ui-test-manifest", version.ref = "androidx-uiTest" } androidx-uitest-testManifest = { module = "androidx.compose.ui:ui-test-manifest", version.ref = "androidx-uiTest" }
androidx-uitest-junit4 = { module = "androidx.compose.ui:ui-test-junit4", version.ref = "androidx-uiTest" } androidx-uitest-junit4 = { module = "androidx.compose.ui:ui-test-junit4", version.ref = "androidx-uiTest" }
voyager-navigator = { module = "cafe.adriel.voyager:voyager-navigator", version.ref = "voyager" } voyager-navigator = { module = "cafe.adriel.voyager:voyager-navigator", version.ref = "voyager" }
+1
View File
@@ -1,4 +1,5 @@
rootProject.name = "Overseerr" rootProject.name = "Overseerr"
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
pluginManagement { pluginManagement {
repositories { repositories {