Skip to content
This repository was archived by the owner on Dec 9, 2024. It is now read-only.

Commit 47b67b8

Browse files
authored
Merge pull request #94 from android/riggaroo/update-compose
Update compose to 1.2.0 stable.
2 parents 6cc920e + 734627a commit 47b67b8

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

MotionCompose/app/build.gradle

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ android {
5050
compose true
5151
}
5252
composeOptions {
53-
kotlinCompilerExtensionVersion compose_version
53+
kotlinCompilerExtensionVersion compose_compiler_version
5454
}
5555
packagingOptions {
5656
resources {
@@ -62,18 +62,19 @@ android {
6262
dependencies {
6363
implementation 'androidx.core:core-ktx:1.8.0'
6464
implementation "androidx.compose.ui:ui:$compose_version"
65-
implementation 'androidx.compose.material3:material3:1.0.0-alpha13'
65+
implementation 'androidx.compose.material3:material3:1.0.0-alpha15'
6666
implementation "androidx.compose.ui:ui-tooling-preview:$compose_version"
67-
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.4.1'
68-
implementation 'androidx.activity:activity-compose:1.4.0'
67+
68+
implementation 'androidx.activity:activity-compose:1.5.1'
6969
implementation 'androidx.constraintlayout:constraintlayout-compose:1.0.1'
7070

71-
def accompanist_version = '0.24.10-beta'
71+
def accompanist_version = '0.25.0'
7272
implementation "com.google.accompanist:accompanist-flowlayout:$accompanist_version"
7373
implementation "com.google.accompanist:accompanist-placeholder:$accompanist_version"
7474

75-
def lifecycle_version = '2.4.1'
75+
def lifecycle_version = '2.5.1'
7676
implementation "androidx.lifecycle:lifecycle-viewmodel-compose:$lifecycle_version"
77+
implementation "androidx.lifecycle:lifecycle-runtime-ktx:$lifecycle_version"
7778

7879
implementation "androidx.paging:paging-compose:1.0.0-alpha15"
7980

MotionCompose/build.gradle

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,15 @@
1616

1717
buildscript {
1818
ext {
19-
compose_version = '1.2.0-beta03'
19+
compose_version = '1.2.1'
20+
compose_compiler_version = '1.3.0'
2021
}
2122
}
2223

2324
plugins {
2425
id 'com.android.application' version '7.2.1' apply false
2526
id 'com.android.library' version '7.2.1' apply false
26-
id 'org.jetbrains.kotlin.android' version '1.6.21' apply false
27+
id 'org.jetbrains.kotlin.android' version '1.7.10' apply false
2728
}
2829

2930
task clean(type: Delete) {

0 commit comments

Comments
 (0)