From 1e2fadb2e17b073094aea4992c0538f5532a4007 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patryk=20Mi=C5=9B?= Date: Sat, 13 May 2023 14:00:06 +0200 Subject: [PATCH] build: updates (#21) * perf: obsolete sdk check Signed-off-by: Patryk Mis * chore: bump dependencies Signed-off-by: Patryk Mis --------- Signed-off-by: Patryk Mis --- app/build.gradle.kts | 12 ++++++------ .../ic_launcher_foreground.xml | 0 build.gradle.kts | 5 ++--- 3 files changed, 8 insertions(+), 9 deletions(-) rename app/src/main/res/{drawable-v24 => drawable}/ic_launcher_foreground.xml (100%) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 1afd909a16..e94107b020 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -36,24 +36,24 @@ android { buildFeatures.compose = true - composeOptions.kotlinCompilerExtensionVersion = "1.4.6" + composeOptions.kotlinCompilerExtensionVersion = "1.4.7" } dependencies { // AndroidX Core - implementation("androidx.core:core-ktx:1.10.0") + implementation("androidx.core:core-ktx:1.10.1") implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.6.1") implementation("androidx.core:core-splashscreen:1.0.1") implementation("androidx.activity:activity-compose:1.7.1") implementation("androidx.paging:paging-common-ktx:3.1.1") // Compose - implementation(platform("androidx.compose:compose-bom:2023.05.00")) + implementation(platform("androidx.compose:compose-bom:2023.05.01")) implementation("androidx.compose.ui:ui") implementation("androidx.compose.ui:ui-tooling-preview") implementation("androidx.compose.material:material-icons-extended") - implementation("androidx.compose.material3:material3:1.1.0-rc01") + implementation("androidx.compose.material3:material3") // Accompanist //val accompanistVersion = "0.30.1" @@ -64,7 +64,7 @@ dependencies { //implementation("com.google.accompanist:accompanist-permissions:$accompanistVersion") // Coil (async image loading, network image) - implementation("io.coil-kt:coil-compose:2.2.2") + implementation("io.coil-kt:coil-compose:2.3.0") // KotlinX implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.5.0") @@ -87,4 +87,4 @@ dependencies { implementation("io.ktor:ktor-client-content-negotiation:$ktorVersion") implementation("io.ktor:ktor-serialization-kotlinx-json:$ktorVersion") -} \ No newline at end of file +} diff --git a/app/src/main/res/drawable-v24/ic_launcher_foreground.xml b/app/src/main/res/drawable/ic_launcher_foreground.xml similarity index 100% rename from app/src/main/res/drawable-v24/ic_launcher_foreground.xml rename to app/src/main/res/drawable/ic_launcher_foreground.xml diff --git a/build.gradle.kts b/build.gradle.kts index 609150b3d3..e58637ea90 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,5 +1,4 @@ plugins { - id("com.android.application") version "8.0.0" apply false - id("com.android.library") version "8.0.0" apply false - id("org.jetbrains.kotlin.android") version "1.8.20" apply false + id("com.android.application") version "8.0.1" apply false + id("org.jetbrains.kotlin.android") version "1.8.21" apply false }