🛠️ Update Sdk to API 35 & Migrate Gradle to 8.9 & Various dependencies update

This commit is contained in:
Acclorite 2024-10-31 22:08:37 +02:00
parent c107695c1e
commit d0c0c9e133
9 changed files with 43 additions and 42 deletions

View file

@ -13,12 +13,12 @@ plugins {
android {
namespace = "ua.acclorite.book_story"
compileSdk = 34
compileSdk = 35
defaultConfig {
applicationId = "ua.acclorite.book_story"
minSdk = 26
targetSdk = 34
targetSdk = 35
versionCode = 8
versionName = "1.3.0"
@ -87,26 +87,26 @@ aboutLibraries {
dependencies {
// Default
implementation("androidx.core:core-ktx:1.13.1")
implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.8.6")
implementation("androidx.activity:activity-compose:1.9.2")
implementation("androidx.core:core-ktx:1.15.0")
implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.8.7")
implementation("androidx.activity:activity-compose:1.9.3")
// Compose BOM libraries
// Compose BOM was eliminated - it is recognized as Closed Source in AboutLibraries.
implementation("androidx.compose.foundation:foundation:1.7.3")
implementation("androidx.compose.animation:animation:1.7.3")
implementation("androidx.compose.animation:animation-android:1.7.3")
implementation("androidx.compose.foundation:foundation-layout:1.7.3")
implementation("androidx.compose.ui:ui:1.7.3")
implementation("androidx.compose.ui:ui-graphics:1.7.3")
implementation("androidx.compose.ui:ui-android:1.7.3")
implementation("androidx.compose.material3:material3:1.3.0")
implementation("androidx.compose.material3:material3-window-size-class:1.3.0")
implementation("androidx.compose.material:material-icons-extended:1.7.3")
implementation("androidx.compose.material:material:1.7.3")
implementation("androidx.compose.foundation:foundation:1.7.5")
implementation("androidx.compose.animation:animation:1.7.5")
implementation("androidx.compose.animation:animation-android:1.7.5")
implementation("androidx.compose.foundation:foundation-layout:1.7.5")
implementation("androidx.compose.ui:ui:1.7.5")
implementation("androidx.compose.ui:ui-graphics:1.7.5")
implementation("androidx.compose.ui:ui-android:1.7.5")
implementation("androidx.compose.material3:material3:1.4.0-alpha03")
implementation("androidx.compose.material3:material3-window-size-class:1.3.1")
implementation("androidx.compose.material:material-icons-extended:1.7.5")
implementation("androidx.compose.material:material:1.7.5")
// All dependencies
implementation("androidx.lifecycle:lifecycle-viewmodel-compose:2.8.6")
implementation("androidx.lifecycle:lifecycle-viewmodel-compose:2.8.7")
implementation("com.google.accompanist:accompanist-swiperefresh:0.34.0")
// Dagger - Hilt

View file

@ -28,7 +28,7 @@ fun Tooltip(
content: @Composable () -> Unit
) {
TooltipBox(
positionProvider = TooltipDefaults.rememberPlainTooltipPositionProvider(padding),
positionProvider = TooltipDefaults.rememberTooltipPositionProvider(padding),
focusable = false,
enableUserInput = enabled,
tooltip = {

View file

@ -18,7 +18,6 @@ import androidx.compose.runtime.Composable
import androidx.compose.runtime.Immutable
import androidx.compose.runtime.SideEffect
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.toArgb
import androidx.compose.ui.platform.LocalView
import androidx.core.view.WindowCompat
import kotlinx.parcelize.Parcelize
@ -95,9 +94,6 @@ fun BookStoryTheme(
SideEffect {
val window = (view.context as Activity).window
window.statusBarColor = Color.Transparent.toArgb()
window.navigationBarColor = Color.Transparent.toArgb()
// Disabling Autofill
window.decorView.importantForAutofill =
View.IMPORTANT_FOR_AUTOFILL_NO_EXCLUDE_DESCENDANTS