@@ -70,87 +70,87 @@ dependencies {
70
70
71
71
// Gradle docs on Extra properties
72
72
// https://docs.gradle.org/current/userguide/kotlin_dsl.html#extra_properties
73
- val kotlin_version : String by rootProject.extra
74
- val core_ktx : String by rootProject.extra
75
- val compose_version : String by rootProject.extra
76
- val compose_ui_version : String by rootProject.extra
77
- val activity_compose_version : String by rootProject.extra
78
- val lifecyle_runtime_ktx_version : String by rootProject.extra
79
- val koin_version : String by rootProject.extra
80
- val android_materialdesign_version : String by rootProject.extra
81
- val androidx_navigation_compose_version : String by rootProject.extra
82
- val google_accompanist_version : String by rootProject.extra
83
- val kotlinx_serialization_json : String by rootProject.extra
84
- val constraints_compose_version : String by rootProject.extra
85
- val annotation_experimental_version : String by rootProject.extra
86
- val coroutines_tests_version : String by rootProject.extra
73
+ val kotlinVersion : String by rootProject.extra
74
+ val coreKtx : String by rootProject.extra
75
+ val composeVersion : String by rootProject.extra
76
+ val composeUiVersion : String by rootProject.extra
77
+ val activityComposeVersion : String by rootProject.extra
78
+ val lifestyleRuntimeKtVersion : String by rootProject.extra
79
+ val koinVersion : String by rootProject.extra
80
+ val androidMaterialDesignVersion : String by rootProject.extra
81
+ val androidxNavigationComposeVersion : String by rootProject.extra
82
+ val googleAccompanistVersion : String by rootProject.extra
83
+ val kotlinxSerializationJson : String by rootProject.extra
84
+ val constraintsComposeVersion : String by rootProject.extra
85
+ val annotationExperimentalVersion : String by rootProject.extra
86
+ val coroutinesTestsVersion : String by rootProject.extra
87
87
88
88
// couchbase
89
- val couchbase_lite_version : String by rootProject.extra
89
+ val couchbaseLiteVersion : String by rootProject.extra
90
90
// core serialization
91
- implementation(" org.jetbrains.kotlinx:kotlinx-serialization-json:$kotlinx_serialization_json " )
91
+ implementation(" org.jetbrains.kotlinx:kotlinx-serialization-json:$kotlinxSerializationJson " )
92
92
93
93
// core compose
94
- implementation(" androidx.core:core-ktx:$core_ktx " )
95
- implementation(" androidx.compose.ui:ui:$compose_ui_version " )
94
+ implementation(" androidx.core:core-ktx:$coreKtx " )
95
+ implementation(" androidx.compose.ui:ui:$composeUiVersion " )
96
96
97
97
// Tooling support (Previews, etc.)
98
- implementation(" androidx.compose.ui:ui-tooling:$compose_ui_version " )
98
+ implementation(" androidx.compose.ui:ui-tooling:$composeUiVersion " )
99
99
100
100
// Foundation (Border, Background, Box, Image, Scroll, shapes, animations, etc.)
101
- implementation(" androidx.compose.foundation:foundation:$compose_ui_version " )
102
- implementation(" androidx.compose.foundation:foundation-layout:$compose_ui_version " )
101
+ implementation(" androidx.compose.foundation:foundation:$composeUiVersion " )
102
+ implementation(" androidx.compose.foundation:foundation-layout:$composeUiVersion " )
103
103
104
104
// animation
105
- implementation(" androidx.compose.animation:animation:$compose_ui_version " )
105
+ implementation(" androidx.compose.animation:animation:$composeUiVersion " )
106
106
107
107
// Material design and icons
108
- implementation(" androidx.compose.material:material:$compose_ui_version " )
109
- implementation(" androidx.compose.material:material-icons-core:$compose_ui_version " )
110
- implementation(" androidx.compose.material:material-icons-extended:$compose_ui_version " )
111
- implementation(" com.google.android.material:material:$android_materialdesign_version " )
108
+ implementation(" androidx.compose.material:material:$composeUiVersion " )
109
+ implementation(" androidx.compose.material:material-icons-core:$composeUiVersion " )
110
+ implementation(" androidx.compose.material:material-icons-extended:$composeUiVersion " )
111
+ implementation(" com.google.android.material:material:$androidMaterialDesignVersion " )
112
112
113
113
// lifecycle and integration with ViewModels
114
- implementation(" androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecyle_runtime_ktx_version " )
115
- implementation(" androidx.lifecycle:lifecycle-runtime-ktx:$lifecyle_runtime_ktx_version " )
116
- implementation(" androidx.lifecycle:lifecycle-viewmodel-compose:$lifecyle_runtime_ktx_version " )
117
- implementation(" androidx.lifecycle:lifecycle-livedata-ktx:$lifecyle_runtime_ktx_version " )
114
+ implementation(" androidx.lifecycle:lifecycle-viewmodel-ktx:$lifestyleRuntimeKtVersion " )
115
+ implementation(" androidx.lifecycle:lifecycle-runtime-ktx:$lifestyleRuntimeKtVersion " )
116
+ implementation(" androidx.lifecycle:lifecycle-viewmodel-compose:$lifestyleRuntimeKtVersion " )
117
+ implementation(" androidx.lifecycle:lifecycle-livedata-ktx:$lifestyleRuntimeKtVersion " )
118
118
119
119
// Integration with observables
120
- implementation(" androidx.compose.runtime:runtime-livedata:$compose_ui_version " )
120
+ implementation(" androidx.compose.runtime:runtime-livedata:$composeUiVersion " )
121
121
122
122
// Integration with activities
123
- implementation(" androidx.activity:activity-compose:$activity_compose_version " )
123
+ implementation(" androidx.activity:activity-compose:$activityComposeVersion " )
124
124
125
125
// Integration with constraints
126
- implementation(" androidx.constraintlayout:constraintlayout-compose:$constraints_compose_version " )
126
+ implementation(" androidx.constraintlayout:constraintlayout-compose:$constraintsComposeVersion " )
127
127
128
128
// navigation
129
- implementation(" androidx.navigation:navigation-compose:$androidx_navigation_compose_version " )
129
+ implementation(" androidx.navigation:navigation-compose:$androidxNavigationComposeVersion " )
130
130
131
131
// fix for android versions older than 9 that won't load images https://github.com/google/accompanist
132
132
implementation(" com.google.accompanist:accompanist-drawablepainter:0.34.0" )
133
133
implementation(" com.google.accompanist:accompanist-insets:0.30.1" )
134
134
135
135
// Dependency injection
136
- implementation(" io.insert-koin:koin-core:$koin_version " )
137
- implementation(" io.insert-koin:koin-android:$koin_version " )
138
- implementation(" io.insert-koin:koin-androidx-compose:$koin_version " )
136
+ implementation(" io.insert-koin:koin-core:$koinVersion " )
137
+ implementation(" io.insert-koin:koin-android:$koinVersion " )
138
+ implementation(" io.insert-koin:koin-androidx-compose:$koinVersion " )
139
139
140
140
// couchbase lite for kotlin
141
- implementation(" com.couchbase.lite:couchbase-lite-android-ktx:$couchbase_lite_version " )
141
+ implementation(" com.couchbase.lite:couchbase-lite-android-ktx:3.1.6 " )
142
142
143
143
// required because some flow APIs are still experimental (Card's onclick and cblite flow)
144
- implementation(" androidx.annotation:annotation-experimental:$annotation_experimental_version " )
144
+ implementation(" androidx.annotation:annotation-experimental:$annotationExperimentalVersion " )
145
145
146
146
testImplementation(" junit:junit:4.13.2" )
147
147
testImplementation(" org.jetbrains.kotlinx:kotlinx-coroutines-test:1.7.3" )
148
148
androidTestImplementation(" org.jetbrains.kotlinx:kotlinx-coroutines-test:1.7.3" )
149
149
androidTestImplementation(" androidx.test.ext:junit:1.1.5" )
150
150
androidTestImplementation(" androidx.test.espresso:espresso-core:3.5.1" )
151
- androidTestImplementation(" androidx.compose.ui:ui-test-junit4:$compose_ui_version " )
151
+ androidTestImplementation(" androidx.compose.ui:ui-test-junit4:$composeUiVersion " )
152
152
androidTestImplementation(" androidx.test:runner:1.5.2" )
153
153
androidTestUtil(" androidx.test:orchestrator:1.4.2" )
154
- debugImplementation(" androidx.compose.ui:ui-tooling:$compose_ui_version " )
155
- debugImplementation(" androidx.compose.ui:ui-test-manifest:$compose_ui_version " )
154
+ debugImplementation(" androidx.compose.ui:ui-tooling:$composeUiVersion " )
155
+ debugImplementation(" androidx.compose.ui:ui-test-manifest:$composeUiVersion " )
156
156
}
0 commit comments