Skip to content

Commit 02effd0

Browse files
committed
Update compose version and dependency
1 parent f3878d3 commit 02effd0

File tree

2 files changed

+21
-15
lines changed

2 files changed

+21
-15
lines changed

app/build.gradle

+16-10
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ android {
6262
compose true
6363
}
6464
composeOptions {
65-
kotlinCompilerExtensionVersion '1.3.2'
65+
kotlinCompilerExtensionVersion '1.4.0'
6666
}
6767
packagingOptions {
6868
resources {
@@ -109,23 +109,28 @@ wire {
109109
}
110110
dependencies {
111111

112+
kapt "org.jetbrains.kotlinx:kotlinx-metadata-jvm:0.5.0"
113+
112114
implementation 'androidx.core:core-ktx:1.9.0'
113115
implementation 'androidx.activity:activity-compose:1.6.1'
114116
implementation "androidx.compose.ui:ui:$compose_version"
115117
implementation "androidx.compose.ui:ui-tooling-preview:$compose_version"
116118
implementation "androidx.compose.ui:ui-util:$compose_version"
117-
implementation "androidx.compose.runtime:runtime-livedata:$compose_version"
119+
implementation "androidx.compose.runtime:runtime-livedata:1.3.3"
120+
// implementation "androidx.compose.runtime:runtime-livedata:$compose_version"
121+
implementation "androidx.compose.animation:animation:1.3.3"
122+
// implementation "androidx.compose.animation:animation:$compose_version"
118123
implementation "androidx.navigation:navigation-compose:2.5.3"
119124
implementation "androidx.hilt:hilt-navigation-compose:1.0.0"
120125

121126
// Constraint layout
122127
implementation "androidx.constraintlayout:constraintlayout-compose:1.0.1"
123128

124129
// Material Design
125-
implementation 'com.google.android.material:material:1.7.0'
130+
implementation 'com.google.android.material:material:1.8.0'
126131
implementation "androidx.compose.material:material:1.3.1"
127132
implementation "androidx.compose.material:material-icons-extended:1.3.1"
128-
implementation "androidx.compose.material3:material3:1.1.0-alpha04"
133+
implementation "androidx.compose.material3:material3:1.1.0-alpha05"
129134
implementation "androidx.compose.material3:material3-window-size-class:1.0.1"
130135

131136
// Large screen support
@@ -141,7 +146,7 @@ dependencies {
141146
// implementation 'com.google.protobuf:protobuf-kotlin-lite:3.19.1'
142147

143148
// Lifecycle
144-
implementation "androidx.lifecycle:lifecycle-runtime-compose:2.6.0-alpha04"
149+
implementation "androidx.lifecycle:lifecycle-runtime-compose:2.6.0-alpha05"
145150
implementation "androidx.lifecycle:lifecycle-livedata-ktx:2.5.1"
146151
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.5.1'
147152
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.5.1'
@@ -151,10 +156,10 @@ dependencies {
151156
kapt 'androidx.lifecycle:lifecycle-common-java8:2.5.1'
152157

153158
// Dependency Injection
154-
implementation 'com.google.dagger:hilt-android:2.42'
159+
implementation 'com.google.dagger:hilt-android:2.44.2'
155160
kapt 'androidx.hilt:hilt-compiler:1.0.0'
156-
kapt 'com.google.dagger:hilt-compiler:2.42'
157-
kapt 'com.google.dagger:hilt-android-compiler:2.39.1'
161+
kapt 'com.google.dagger:hilt-compiler:2.44.2'
162+
kapt 'com.google.dagger:hilt-android-compiler:2.44.2'
158163

159164
// Datastore
160165
implementation "androidx.datastore:datastore:1.0.0"
@@ -172,6 +177,7 @@ dependencies {
172177
implementation "com.google.accompanist:accompanist-navigation-material:$accompanist_version"
173178
implementation "com.google.accompanist:accompanist-navigation-animation:$accompanist_version"
174179
implementation "com.google.accompanist:accompanist-flowlayout:$accompanist_version"
180+
implementation "com.google.accompanist:accompanist-permissions:$accompanist_version"
175181
implementation "com.google.accompanist:accompanist-systemuicontroller:$accompanist_version"
176182

177183
// Other
@@ -184,8 +190,8 @@ dependencies {
184190
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
185191
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
186192
androidTestImplementation "androidx.compose.ui:ui-test-junit4:$compose_version"
187-
androidTestImplementation 'com.google.dagger:hilt-android-testing:2.38.1'
193+
androidTestImplementation 'com.google.dagger:hilt-android-testing:2.44.2'
188194
debugImplementation "androidx.compose.ui:ui-tooling:$compose_version"
189195
debugImplementation "androidx.compose.ui:ui-test-manifest:$compose_version"
190-
kaptAndroidTest 'com.google.dagger:hilt-android-compiler:2.39.1'
196+
kaptAndroidTest 'com.google.dagger:hilt-android-compiler:2.44.2'
191197
}

build.gradle

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
buildscript {
22
ext {
3-
compose_version = '1.3.2'
4-
kotlin_version = '1.7.20'
5-
accompanist_version = '0.28.0'
3+
compose_version = '1.4.0-alpha05'
4+
kotlin_version = '1.8.0'
5+
accompanist_version = '0.29.1-alpha'
66
}
77

88
dependencies {
99
classpath 'com.android.tools.build:gradle:7.4.0'
1010
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
11-
classpath 'com.google.dagger:hilt-android-gradle-plugin:2.42'
11+
classpath 'com.google.dagger:hilt-android-gradle-plugin:2.44.2'
1212
classpath 'com.squareup.wire:wire-gradle-plugin:4.4.3'
1313

14-
// NOTE: Do not place your application dependencies here; they belong
14+
// // NOTE: Do not place your application dependencies here; they belong
1515
// in the individual module build.gradle files
1616
}
1717
}// Top-level build file where you can add configuration options common to all sub-projects/modules.

0 commit comments

Comments
 (0)