11@file:Suppress(" SpellCheckingInspection" )
22
3- private const val lifecycleVersion = " 2.4.0"
43private const val okHttpVersion = " 4.9.3"
54private const val retrofitVersion = " 2.9.0"
65private const val arouterVersion = " 1.5.2"
@@ -12,6 +11,15 @@ private const val roomVersion = "2.4.1"
1211private const val hiltVersion = " 2.40.1"
1312private const val chuckerVersion = " 3.5.2"
1413
14+ const val appCompatVersion = " 1.4.1"
15+ const val coreVersion = " 1.7.0"
16+ const val activityVersion = " 1.4.0"
17+ const val collectionVersion = " 1.2.0"
18+ const val fragmentVersion = " 1.4.0"
19+ const val lifecycleVersion = " 2.4.0"
20+ const val supportVersion = " 28.0.0"
21+ const val coroutinesVersion = " 1.6.0"
22+
1523object Plugins {
1624 const val kotlinAndroid = " kotlin-android"
1725 const val kotlinKapt = " kotlin-kapt"
@@ -26,18 +34,18 @@ object Plugins {
2634}
2735
2836object Libs {
29- const val coroutines = " org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.0 "
30- const val core = " androidx.core:core-ktx:1.7.0 "
31- const val appCompat = " androidx.appcompat:appcompat:1.4.1 "
37+ const val coroutines = " org.jetbrains.kotlinx:kotlinx-coroutines-android:$coroutinesVersion "
38+ const val core = " androidx.core:core-ktx:$coreVersion "
39+ const val appCompat = " androidx.appcompat:appcompat:$appCompatVersion "
3240 const val annotation = " androidx.annotation:annotation:1.3.0"
33- const val activity = " androidx.activity:activity-ktx:1.4.0 "
34- const val fragment = " androidx.fragment:fragment-ktx:1.4.0 "
41+ const val activity = " androidx.activity:activity-ktx:$activityVersion "
42+ const val fragment = " androidx.fragment:fragment-ktx:$fragmentVersion "
3543 const val constraintLayout = " androidx.constraintlayout:constraintlayout:2.1.3"
3644 const val coordinatorLayout = " androidx.coordinatorlayout:coordinatorlayout:1.2.0"
3745 const val material = " com.google.android.material:material:1.5.0"
3846 const val recyclerView = " androidx.recyclerview:recyclerview:1.2.1"
3947 const val cardView = " androidx.cardview:cardview:1.0.0"
40- const val collection = " androidx.collection:collection-ktx:1.2.0 "
48+ const val collection = " androidx.collection:collection-ktx:$collectionVersion "
4149 const val fastjson = " com.alibaba:fastjson:1.1.72.android"
4250 const val arouter = " com.alibaba:arouter-api:$arouterVersion "
4351 const val leakCanary = " com.squareup.leakcanary:leakcanary-android:2.8.1"
0 commit comments