From eb254bce37cd7b0a32aa3dffb93a89eb73853bd2 Mon Sep 17 00:00:00 2001 From: LooKeR Date: Sat, 8 Jan 2022 11:15:34 +0530 Subject: [PATCH] Update - Jetpack Compose 1.0.5 -> 1.1.0-rc01/02 --- build.gradle | 20 +++++++++---------- .../com/looker/droidify/ui/compose/Items.kt | 2 +- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/build.gradle b/build.gradle index ef7dcde4..d94fb959 100644 --- a/build.gradle +++ b/build.gradle @@ -6,7 +6,7 @@ buildscript { dependencies { classpath 'com.android.tools.build:gradle:7.0.4' - classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.31' + classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.10' } } @@ -53,7 +53,7 @@ android { } composeOptions { - kotlinCompilerExtensionVersion "1.0.5" + kotlinCompilerExtensionVersion "1.1.0-rc02" } buildTypes { @@ -133,7 +133,7 @@ repositories { dependencies { // Core - implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.5.31' + implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.10' implementation 'androidx.core:core-ktx:1.7.0' implementation 'androidx.appcompat:appcompat:1.4.0' implementation 'androidx.appcompat:appcompat-resources:1.4.0' @@ -181,13 +181,13 @@ dependencies { kapt 'androidx.room:room-compiler:2.4.0' // Compose - implementation "androidx.compose.runtime:runtime:1.0.5" - implementation "androidx.compose.ui:ui:1.0.5" - implementation "androidx.compose.ui:ui-tooling:1.0.5" - implementation "androidx.compose.foundation:foundation:1.0.5" - implementation "androidx.compose.foundation:foundation-layout:1.0.5" - implementation "androidx.compose.runtime:runtime-livedata:1.0.5" - implementation "androidx.compose.material:material:1.0.5" + implementation "androidx.compose.runtime:runtime:1.1.0-rc01" + implementation "androidx.compose.ui:ui:1.1.0-rc01" + implementation "androidx.compose.ui:ui-tooling:1.1.0-rc01" + implementation "androidx.compose.foundation:foundation:1.1.0-rc01" + implementation "androidx.compose.foundation:foundation-layout:1.1.0-rc01" + implementation "androidx.compose.runtime:runtime-livedata:1.1.0-rc01" + implementation "androidx.compose.material:material:1.1.0-rc01" implementation "com.google.android.material:compose-theme-adapter:1.1.2" } diff --git a/src/main/kotlin/com/looker/droidify/ui/compose/Items.kt b/src/main/kotlin/com/looker/droidify/ui/compose/Items.kt index d571844c..25683db0 100644 --- a/src/main/kotlin/com/looker/droidify/ui/compose/Items.kt +++ b/src/main/kotlin/com/looker/droidify/ui/compose/Items.kt @@ -93,7 +93,7 @@ fun ProductRow( @Preview @Composable fun ProductColumn( - name: String = "Droid-ifsdfsdfy", + name: String = "Droid-iy", version: String = "69", onUserClick: (String) -> Unit = {} ) {