|
1 | 1 | plugins { |
2 | | - alias(libs.plugins.android.application) |
3 | | - alias(libs.plugins.kotlin.android) |
| 2 | + id("com.android.application") |
| 3 | + id("org.jetbrains.kotlin.android") |
4 | 4 | kotlin("kapt") |
5 | | - alias(libs.plugins.hilt.android) |
6 | | - alias(libs.plugins.secrets.gradle.plugin) |
| 5 | + id("com.google.dagger.hilt.android") |
| 6 | + id("com.google.android.libraries.mapsplatform.secrets-gradle-plugin") |
7 | 7 | } |
8 | 8 |
|
9 | 9 | android { |
@@ -65,33 +65,40 @@ kapt { |
65 | 65 |
|
66 | 66 | dependencies { |
67 | 67 |
|
68 | | - implementation(libs.core.ktx.v1120) |
69 | | - implementation(libs.lifecycle.runtime.ktx) |
70 | | - implementation(libs.activity.compose) |
71 | | - implementation(platform(libs.compose.bom)) |
72 | | - implementation(libs.foundation.android) |
73 | | - implementation(libs.material3.android) |
| 68 | + implementation("androidx.core:core-ktx:1.12.0") |
| 69 | + implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.7.0") |
| 70 | + implementation("androidx.activity:activity-compose:1.8.2") |
| 71 | + implementation(platform("androidx.compose:compose-bom:2024.03.00")) |
| 72 | + implementation("androidx.compose.ui:ui") |
| 73 | + implementation("androidx.compose.ui:ui-graphics") |
| 74 | + implementation("androidx.compose.ui:ui-tooling-preview") |
| 75 | + implementation("androidx.compose.material3:material3") |
74 | 76 |
|
75 | | - testImplementation(libs.junit) |
76 | | - testImplementation(libs.robolectric) |
77 | | - testImplementation(libs.core) |
78 | | - testImplementation(libs.truth) |
| 77 | + testImplementation("junit:junit:4.13.2") |
| 78 | + testImplementation("org.robolectric:robolectric:4.11.1") |
| 79 | + testImplementation("androidx.test:core:1.5.0") |
| 80 | + testImplementation("com.google.truth:truth:1.4.2") |
79 | 81 |
|
80 | | - androidTestImplementation(libs.ext.junit) |
81 | | - androidTestImplementation(libs.espresso.core) |
82 | | - androidTestImplementation(platform(libs.compose.bom)) |
| 82 | + androidTestImplementation("androidx.test.ext:junit:1.1.5") |
| 83 | + androidTestImplementation("androidx.test.espresso:espresso-core:3.5.1") |
| 84 | + androidTestImplementation(platform("androidx.compose:compose-bom:2024.03.00")) |
| 85 | + androidTestImplementation("androidx.compose.ui:ui-test-junit4") |
| 86 | + |
| 87 | + debugImplementation("androidx.compose.ui:ui-tooling") |
| 88 | + debugImplementation("androidx.compose.ui:ui-test-manifest") |
83 | 89 |
|
84 | 90 | // Hilt |
85 | | - implementation(libs.hilt.android) |
86 | | - kapt(libs.hilt.android.compiler) |
| 91 | + val hiltVersion = "2.51" |
| 92 | + implementation("com.google.dagger:hilt-android:$hiltVersion") |
| 93 | + kapt("com.google.dagger:hilt-android-compiler:$hiltVersion") |
87 | 94 | implementation(kotlin("reflect")) |
88 | 95 |
|
89 | 96 | // Google Maps Compose library |
90 | | - implementation(libs.maps.compose) |
| 97 | + implementation("com.google.maps.android:maps-compose:4.3.3") |
91 | 98 | // Google Maps Compose utility library |
92 | | - implementation(libs.maps.compose.utils) |
| 99 | + implementation("com.google.maps.android:maps-compose-utils:4.3.3") |
93 | 100 | // Google Maps Compose widgets library |
94 | | - implementation(libs.maps.compose.widgets) |
| 101 | + implementation("com.google.maps.android:maps-compose-widgets:4.3.3") |
95 | 102 | } |
96 | 103 |
|
97 | 104 | secrets { |
|
0 commit comments