-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjetpack-compose.gradle
40 lines (28 loc) · 1.33 KB
/
jetpack-compose.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
android {
buildFeatures {
compose true
}
composeOptions {
kotlinCompilerExtensionVersion = "1.4.5"
}
}
dependencies {
implementation "androidx.compose:compose-bom:$jetpack_compose_bom"
implementation "androidx.compose.material3:material3:$material3_version"
// Jetpack Compose
implementation "androidx.compose.ui:ui:$compose_version"
implementation "androidx.compose.ui:ui-tooling-preview"
debugImplementation "androidx.compose.ui:ui-tooling"
//debugNotMinifiedImplementation "androidx.compose.ui:ui-tooling"
implementation "androidx.compose.runtime:runtime:$compose_version"
implementation "androidx.activity:activity-compose:$activity_compose_version"
implementation "androidx.lifecycle:lifecycle-runtime-compose:$lifecycle_runtime_compose_version"
//live data using at compose
implementation "androidx.compose.runtime:runtime-livedata:$jackpack_runtime_livedata"
androidTestImplementation "androidx.compose.ui:ui-test-junit4:$compose_version"
debugImplementation "androidx.compose.ui:ui-test-manifest:$compose_version"
//fix jetpack pager build issues
implementation "androidx.compose.foundation:foundation:$fundation_version"
// Navigation Compose
implementation "androidx.navigation:navigation-compose:$jetpack_navigation_compose_version"
}