|
1 | 1 | import org.gradle.api.JavaVersion |
2 | 2 |
|
3 | 3 | object Versions { |
4 | | - const val gradleVersion = "8.0.2" |
5 | | - |
6 | | - const val buildToolsVersion = "30.0.3" |
7 | | - const val kotlinVersion = "1.8.20" |
8 | | - const val kotlinSerializationJsonVersion = "1.5.1" |
9 | | - const val kotlinDateTimeVersion = "0.4.0" |
10 | | - const val coreKtxVersion = "1.10.1" |
11 | | - const val appCompatVersion = "1.6.1" |
12 | | - const val materialDesignVersion = "1.9.0" |
13 | | - const val constraintLayoutVersion = "2.1.4" |
| 4 | + // AGP (com.android.tools.build:gradle) |
| 5 | + // plugins { id("com.android.application") version "8.7.2" } 로 맞춰 쓰는 걸 권장 |
| 6 | + const val gradleVersion = "8.7.2" |
| 7 | + |
| 8 | + // buildToolsVersion는 AGP 8.x부터 명시 불필요. 그래도 상수 유지하려면 35로. |
| 9 | + const val buildToolsVersion = "35.0.0" |
| 10 | + |
| 11 | + // Kotlin |
| 12 | + const val kotlinVersion = "1.9.24" |
| 13 | + const val kotlinSerializationJsonVersion = "1.6.3" |
| 14 | + const val kotlinDateTimeVersion = "0.6.1" // 최신권장 |
| 15 | + |
| 16 | + // AndroidX core / appcompat / material |
| 17 | + const val coreKtxVersion = "1.13.1" |
| 18 | + const val appCompatVersion = "1.7.0" |
| 19 | + const val materialDesignVersion = "1.12.0" |
| 20 | + |
| 21 | + // UI |
| 22 | + const val constraintLayoutVersion = "2.1.4" // 2.2.0은 아직 안정화 대기 |
| 23 | + const val flexboxVersion = "3.0.0" |
| 24 | + const val circleIndicatorVersion = "2.1.6" |
| 25 | + const val circleImageViewVersion = "3.1.0" |
| 26 | + const val shimmerVersion = "0.5.0" |
| 27 | + |
| 28 | + // App Startup / Legacy / Security |
14 | 29 | const val appStartUpVersion = "1.1.1" |
15 | 30 | const val legacySupportVersion = "1.0.0" |
16 | | - const val securityVersion = "1.1.0-alpha06" |
17 | | - const val hiltVersion = "2.46.1" |
18 | | - const val activityKtxVersion = "1.7.2" |
19 | | - const val fragmentKtxVersion = "1.5.7" |
20 | | - const val coroutinesAndroidVersion = "1.7.1" |
21 | | - const val pagingVersion = "3.1.1" |
22 | | - const val lifecycleVersion = "2.6.1" |
23 | | - const val ossPluginVersion = "0.10.4" |
24 | | - const val ossVersion = "17.0.0" |
| 31 | + const val securityVersion = "1.1.0-alpha06" // 안정판 대체 없으면 유지 |
| 32 | + |
| 33 | + // Hilt (Dagger) |
| 34 | + const val hiltVersion = "2.51.1" |
| 35 | + |
| 36 | + // Activity/Fragment/Lifecycle/Navi/Paging/Work/Splash |
| 37 | + const val activityKtxVersion = "1.9.2" |
| 38 | + const val fragmentKtxVersion = "1.8.3" |
| 39 | + const val lifecycleVersion = "2.8.4" |
| 40 | + const val navigationVersion = "2.8.0" |
| 41 | + const val pagingVersion = "3.3.2" |
| 42 | + const val workManagerVersion = "2.9.1" |
25 | 43 | const val splashVersion = "1.0.1" |
26 | | - const val workManagerVersion = "2.8.1" |
27 | | - const val coilVersion = "2.4.0" |
28 | | - const val retrofitVersion = "2.9.0" |
29 | | - const val kotlinSerializationConverterVersion = "1.0.0" |
30 | | - const val okHttpVersion = "4.11.0" |
| 44 | + |
| 45 | + // Coroutines |
| 46 | + const val coroutinesAndroidVersion = "1.9.0" |
| 47 | + |
| 48 | + // Networking |
| 49 | + const val retrofitVersion = "2.11.0" |
| 50 | + const val kotlinSerializationConverterVersion = "1.0.0" // (JakeWharton) 최신 여전히 1.0.0 |
| 51 | + const val okHttpVersion = "4.12.0" // OkHttp 5는 API 변화 큼 → 4.12 권장 |
| 52 | + |
| 53 | + // 이미지/애니메이션 |
| 54 | + const val coilVersion = "2.6.0" |
| 55 | + const val lottieVersion = "6.4.1" |
| 56 | + |
| 57 | + // 기타 |
31 | 58 | const val timberVersion = "5.0.1" |
32 | 59 | const val progressViewVersion = "1.1.3" |
33 | 60 | const val balloonVersion = "1.4.5" |
34 | | - const val lottieVersion = "6.0.0" |
35 | 61 | const val circularProgressBar = "3.1.0" |
36 | 62 | const val kakaoVersion = "2.19.0" |
37 | | - const val circleIndicatorVersion = "2.1.6" |
38 | | - const val shimmerVersion = "0.5.0" |
39 | | - const val navigationVersion = "2.6.0" |
40 | | - const val amplitudeVersion = "2.23.2" |
| 63 | + const val amplitudeVersion = "2.23.2" // 프로젝트 요구 맞추되, 필요시 최신 확인 |
| 64 | + |
| 65 | + // 테스트 |
41 | 66 | const val junitVersion = "4.13.2" |
42 | | - const val espressoVersion = "3.3.0" |
43 | | - const val androidTestVersion = "1.1.2" |
44 | | - const val flexboxVersion = "3.0.0" |
45 | | - const val circleImageViewVersion = "3.1.0" |
| 67 | + const val espressoVersion = "3.6.1" |
| 68 | + const val androidTestVersion = "1.2.1" // androidx.test:runner / rules 세트 기준 |
| 69 | + |
| 70 | + // Java / JVM |
| 71 | + val javaVersion = JavaVersion.VERSION_21 |
| 72 | + const val jvmVersion = "21" |
46 | 73 |
|
47 | | - val javaVersion = JavaVersion.VERSION_17 |
48 | | - const val jvmVersion = "17" |
| 74 | + // ▷ OSS Licenses |
| 75 | + const val ossPluginVersion = "0.10.6" |
| 76 | + const val ossVersion = "17.1.0" |
49 | 77 | } |
0 commit comments