From e9792678c24eea744514e0e58ae38f26ab942da0 Mon Sep 17 00:00:00 2001 From: YaMiN Date: Fri, 2 Jun 2023 00:03:41 +0330 Subject: [PATCH] updated agp updated activity libs minor refactors --- app/build.gradle | 6 +++--- app/src/main/java/io/github/yamin8000/dooz/content/About.kt | 2 +- build.gradle | 4 ++-- gradle.properties | 5 ++--- 4 files changed, 8 insertions(+), 9 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 5931c51..44d933f 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -32,8 +32,8 @@ android { applicationId "io.github.yamin8000.dooz" minSdk 24 targetSdk 33 - versionCode 10 - versionName "1.0.10" + versionCode 11 + versionName "1.0.11" vectorDrawables { useSupportLibrary true } @@ -99,7 +99,7 @@ dependencies { implementation("androidx.compose.material:material:$compose_libs_version") implementation("androidx.compose.ui:ui-tooling-preview:$compose_ui_libs_version") debugImplementation("androidx.compose.ui:ui-tooling:$compose_ui_libs_version") - implementation("androidx.activity:activity-compose:1.7.1") + implementation("androidx.activity:activity-compose:1.7.2") implementation("androidx.compose.material3:material3:$material3_version") implementation("androidx.compose.material3:material3-window-size-class:$material3_version") implementation("androidx.compose.material:material-icons-extended:$compose_libs_version") diff --git a/app/src/main/java/io/github/yamin8000/dooz/content/About.kt b/app/src/main/java/io/github/yamin8000/dooz/content/About.kt index 05c5153..034694c 100644 --- a/app/src/main/java/io/github/yamin8000/dooz/content/About.kt +++ b/app/src/main/java/io/github/yamin8000/dooz/content/About.kt @@ -47,7 +47,7 @@ import io.github.yamin8000.dooz.ui.composables.ScaffoldWithTitle @OptIn(ExperimentalMaterial3Api::class) @Composable -fun AboutContent(onBackClick: () -> Unit) { +internal fun AboutContent(onBackClick: () -> Unit) { ScaffoldWithTitle( title = stringResource(R.string.about), onBackClick = onBackClick, diff --git a/build.gradle b/build.gradle index 759ed2e..187ce47 100644 --- a/build.gradle +++ b/build.gradle @@ -26,8 +26,8 @@ buildscript { // Top-level build file where you can add configuration options common to all sub-projects/modules. plugins { - id 'com.android.application' version '8.0.1' apply false - id 'com.android.library' version '8.0.1' apply false + id 'com.android.application' version '8.0.2' apply false + id 'com.android.library' version '8.0.2' apply false id 'org.jetbrains.kotlin.android' version '1.8.21' apply false } diff --git a/gradle.properties b/gradle.properties index b0c1b7b..bb32208 100644 --- a/gradle.properties +++ b/gradle.properties @@ -40,6 +40,5 @@ kotlin.code.style=official # Enables namespacing of each library's R class so that its R class includes only the # resources declared in the library itself and none from the library's dependencies, # thereby reducing the size of the R class for that library -android.nonTransitiveRClass=true -android.nonFinalResIds=true -android.enableR8.fullMode=false \ No newline at end of file +android.enableR8.fullMode=false +android.enableBuildConfigAsBytecode = true \ No newline at end of file