@@ -32,7 +32,7 @@ android {
32
32
composeOptions {
33
33
// See the "Compose to Kotlin Compatibility Map" for compatible versions:
34
34
// https://developer.android.com/jetpack/androidx/releases/compose-kotlin
35
- kotlinCompilerExtensionVersion compose_compiler_version
35
+ kotlinCompilerExtensionVersion kotlin_compiler_extension_version
36
36
}
37
37
38
38
buildFeatures {
@@ -67,61 +67,61 @@ dependencies {
67
67
68
68
implementation " com.google.android.material:material:$material_version "
69
69
70
- implementation " androidx.core:core-ktx:$c ore_version "
71
- implementation " androidx.appcompat:appcompat:$a ppcompat_version "
72
- implementation " androidx.preference:preference-ktx:$p reference_version "
70
+ implementation " androidx.core:core-ktx:$a ndroidx_core_version "
71
+ implementation " androidx.appcompat:appcompat:$a ndroidx_appcompat_version "
72
+ implementation " androidx.preference:preference-ktx:$a ndroidx_preference_version "
73
73
74
- androidTestImplementation " androidx.navigation:navigation-testing:$n av_version "
75
- implementation " androidx.navigation:navigation-runtime-ktx:$n av_version "
76
- implementation " androidx.navigation:navigation-fragment-ktx:$n av_version "
77
- implementation " androidx.navigation:navigation-ui-ktx:$n av_version "
74
+ androidTestImplementation " androidx.navigation:navigation-testing:$a ndroidx_navigation_version "
75
+ implementation " androidx.navigation:navigation-runtime-ktx:$a ndroidx_navigation_version "
76
+ implementation " androidx.navigation:navigation-fragment-ktx:$a ndroidx_navigation_version "
77
+ implementation " androidx.navigation:navigation-ui-ktx:$a ndroidx_navigation_version "
78
78
79
79
// https://mvnrepository.com/artifact/androidx.compose
80
80
// https://developer.android.com/jetpack/androidx/releases/compose
81
- debugImplementation " androidx.compose.ui:ui-tooling-preview:$c ompose_version "
82
- implementation " androidx.activity:activity-compose:$c ompose_activity_version "
83
- implementation " androidx.compose.foundation:foundation:$c ompose_version "
84
- implementation " androidx.compose.material:material:$c ompose_version "
85
- implementation " androidx.compose.runtime:runtime:$c ompose_version "
86
- implementation " androidx.compose.ui:ui:$c ompose_version "
81
+ debugImplementation " androidx.compose.ui:ui-tooling-preview:$a ndroidx_compose_version "
82
+ implementation " androidx.activity:activity-compose:$a ndroidx_compose_activity_version "
83
+ implementation " androidx.compose.foundation:foundation:$a ndroidx_compose_version "
84
+ implementation " androidx.compose.material:material:$a ndroidx_compose_version "
85
+ implementation " androidx.compose.runtime:runtime:$a ndroidx_compose_version "
86
+ implementation " androidx.compose.ui:ui:$a ndroidx_compose_version "
87
87
88
88
// jUnit
89
89
testImplementation " junit:junit:$junit_version "
90
90
91
91
// Required for connected tests.
92
92
// https://mvnrepository.com/artifact/androidx.test/monitor
93
- debugImplementation " androidx.test:monitor:$t est_monitor_version "
93
+ debugImplementation " androidx.test:monitor:$a ndroidx_test_monitor_version "
94
94
95
95
// Required for connected tests (ActivityInvoker).
96
96
// https://mvnrepository.com/artifact/androidx.test.ext
97
- debugImplementation " androidx.test.ext:junit:$t est_junit_version "
97
+ debugImplementation " androidx.test.ext:junit:$a ndroidx_test_junit_version "
98
98
99
99
// https://mvnrepository.com/artifact/androidx.test
100
100
// https://developer.android.com/jetpack/androidx/releases/test
101
- androidTestImplementation " androidx.test:core:$t est_core_version "
102
- androidTestImplementation " androidx.test:runner:$t est_runner_version "
103
- androidTestImplementation " androidx.test:rules:$t est_rules_version "
101
+ androidTestImplementation " androidx.test:core:$a ndroidx_test_core_version "
102
+ androidTestImplementation " androidx.test:runner:$a ndroidx_test_runner_version "
103
+ androidTestImplementation " androidx.test:rules:$a ndroidx_test_rules_version "
104
104
105
105
// https://mvnrepository.com/artifact/androidx.test.uiautomator/uiautomator
106
- androidTestImplementation " androidx.test.uiautomator:uiautomator:$u iautomator_version "
106
+ androidTestImplementation " androidx.test.uiautomator:uiautomator:$a ndroidx_test_uiautomator_version "
107
107
108
108
// Espresso
109
- androidTestImplementation " androidx.test.espresso:espresso-core:$e spresso_version "
110
- // androidTestImplementation "androidx.test.espresso:espresso-contrib:$espresso_version "
111
- // androidTestImplementation "androidx.test.espresso:espresso-intents:$espresso_version "
112
- // androidTestImplementation "androidx.test.espresso:espresso-accessibility:$espresso_version "
113
- androidTestImplementation " androidx.test.espresso:espresso-web:$e spresso_version "
114
- // androidTestImplementation "androidx.test.espresso.idling:idling-concurrent:$espresso_version "
109
+ androidTestImplementation " androidx.test.espresso:espresso-core:$a ndroidx_test_espresso_version "
110
+ // androidTestImplementation "androidx.test.espresso:espresso-contrib:$androidx_test_espresso_version "
111
+ // androidTestImplementation "androidx.test.espresso:espresso-intents:$androidx_test_espresso_version "
112
+ // androidTestImplementation "androidx.test.espresso:espresso-accessibility:$androidx_test_espresso_version "
113
+ androidTestImplementation " androidx.test.espresso:espresso-web:$a ndroidx_test_espresso_version "
114
+ // androidTestImplementation "androidx.test.espresso.idling:idling-concurrent:$androidx_test_espresso_version "
115
115
116
116
// The following dependency can be either "implementation" or "androidTestImplementation",
117
117
// depending on whether you want it to appear on your APK's compile classpath or the test APK classpath.
118
- // androidTestImplementation "androidx.test.espresso:espresso-idling-resource:$espresso_version "
118
+ // androidTestImplementation "androidx.test.espresso:espresso-idling-resource:$androidx_test_espresso_version "
119
119
120
120
// Test rules and transitive dependencies:
121
- androidTestImplementation(" androidx.compose.ui:ui-test-junit4:$c ompose_version " )
121
+ androidTestImplementation(" androidx.compose.ui:ui-test-junit4:$a ndroidx_compose_version " )
122
122
123
123
// Needed for createComposeRule, but not createAndroidComposeRule:
124
- debugImplementation(" androidx.compose.ui:ui-test-manifest:1.5.3 " )
124
+ debugImplementation(" androidx.compose.ui:ui-test-manifest:$a ndroidx_compose_version " )
125
125
}
126
126
127
127
// disable caching
0 commit comments