Skip to content

Commit 3d59e16

Browse files
committed
[BOOK-37] chore: version catalog 설정
1 parent 403a670 commit 3d59e16

File tree

1 file changed

+120
-23
lines changed

1 file changed

+120
-23
lines changed

gradle/libs.versions.toml

Lines changed: 120 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,134 @@
11
[versions]
2-
agp = "8.9.1"
3-
kotlin = "2.0.21"
4-
coreKtx = "1.16.0"
5-
junit = "4.13.2"
6-
junitVersion = "1.2.1"
7-
espressoCore = "3.6.1"
8-
lifecycleRuntimeKtx = "2.8.7"
9-
activityCompose = "1.10.1"
10-
composeBom = "2024.09.00"
2+
## Android gradle plugin
3+
android-gradle-plugin = "8.9.1"
4+
5+
## AndroidX
6+
androidx-core = "1.16.0"
7+
androidx-lifecycle = "2.9.1"
8+
appcompat = "1.7.1"
9+
androidx-activity-compose = "1.10.1"
10+
androidx-startup = "1.2.0"
11+
androidx-splash = "1.0.1"
12+
androidx-datastore = "1.1.7"
13+
14+
## Compose
15+
androidx-compose-bom = "2025.06.00"
16+
androidx-compose-material3 = "1.3.2"
17+
18+
coil-compose = "2.7.0"
19+
20+
## Kotlin Symbol Processing
21+
ksp = "2.1.21-2.0.1"
22+
23+
## Kotlin
24+
kotlin = "2.1.21"
25+
kotlinx-coroutines = "1.10.2"
26+
kotlinx-serialization-json = "1.8.1"
27+
kotlinx-datetime = "0.6.2"
28+
kotlinx-collections-immutable = "0.4.0"
29+
30+
## Hilt
31+
hilt = "2.56.2"
32+
hilt-compiler = "2.51"
33+
hilt-navigation-compose = "1.2.0"
34+
35+
## Network
36+
okhttp = "4.12.0"
37+
retrofit = "2.11.0"
38+
39+
## Logging
40+
logger = "2.2.0"
41+
42+
## Extenstion
43+
# https://github.com/jisungbin/dependency-handler-extensions
44+
gradle-dependency-handler-extensions = "1.1.0"
45+
# https://github.com/taehwandev/ComposeExtensions
46+
compose-extensions = "25.1.0"
47+
48+
## Static Analysis
1149
kotlin-detekt = "1.23.8"
1250
kotlin-ktlint-gradle = "11.6.1"
1351
kotlin-ktlint-source = "0.50.0"
1452

53+
## Test
54+
junit = "4.13.2"
55+
junit-version = "1.2.1"
56+
1557
[libraries]
16-
androidx-core-ktx = { group = "androidx.core", name = "core-ktx", version.ref = "coreKtx" }
58+
android-gradle-plugin = { group = "com.android.tools.build", name = "gradle", version.ref = "android-gradle-plugin" }
59+
kotlin-gradle-plugin = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlin" }
60+
61+
androidx-core-ktx = { group = "androidx.core", name = "core-ktx", version.ref = "androidx-core" }
62+
androidx-lifecycle-runtime-ktx = { group = "androidx.lifecycle", name = "lifecycle-runtime-ktx", version.ref = "androidx-lifecycle" }
63+
androidx-activity-compose = { group = "androidx.activity", name = "activity-compose", version.ref = "androidx-activity-compose" }
64+
androidx-appcompat = { group = "androidx.appcompat", name = "appcompat", version.ref = "appcompat" }
65+
androidx-splash = { group = "androidx.core", name = "core-splashscreen", version.ref = "androidx-splash" }
66+
androidx-startup = { group = "androidx.startup", name = "startup-runtime", version.ref = "androidx-startup" }
67+
androidx-datastore-core = { group = "androidx.datastore", name = "datastore", version.ref = "androidx-datastore" }
68+
69+
androidx-compose-bom = { group = "androidx.compose", name = "compose-bom", version.ref = "androidx-compose-bom" }
70+
androidx-compose-foundation = { group = "androidx.compose.foundation", name = "foundation" }
71+
androidx-compose-ui = { group = "androidx.compose.ui", name = "ui" }
72+
androidx-compose-ui-graphics = { group = "androidx.compose.ui", name = "ui-graphics" }
73+
androidx-compose-ui-tooling = { group = "androidx.compose.ui", name = "ui-tooling" }
74+
androidx-compose-ui-tooling-preview = { group = "androidx.compose.ui", name = "ui-tooling-preview" }
75+
androidx-compose-ui-test-manifest = { group = "androidx.compose.ui", name = "ui-test-manifest" }
76+
androidx-compose-ui-test-junit4 = { group = "androidx.compose.ui", name = "ui-test-junit4" }
77+
androidx-compose-material3 = { group = "androidx.compose.material3", name = "material3", version.ref = "androidx-compose-material3" }
78+
79+
hilt-core = { group = "com.google.dagger", name = "hilt-core", version.ref = "hilt" }
80+
hilt-compiler = { group = "com.google.dagger", name = "hilt-compiler", version.ref = "hilt" }
81+
hilt-android = { group = "com.google.dagger", name = "hilt-android", version.ref = "hilt" }
82+
hilt-android-compiler = { group = "com.google.dagger", name = "hilt-android-compiler", version.ref = "hilt" }
83+
hilt-navigation-compose = { group = "androidx.hilt", name = "hilt-navigation-compose", version.ref = "hilt-navigation-compose" }
84+
85+
retrofit-core = { group = "com.squareup.retrofit2", name = "retrofit", version.ref = "retrofit" }
86+
retrofit-kotlin-serialization = { module = "com.squareup.retrofit2:converter-kotlinx-serialization", version.ref = "retrofit" }
87+
okhttp-logging = { group = "com.squareup.okhttp3", name = "logging-interceptor", version.ref = "okhttp" }
88+
89+
kotlinx-coroutines-core = { group = "org.jetbrains.kotlinx", name = "kotlinx-coroutines-core", version.ref = "kotlinx-coroutines" }
90+
kotlinx-serialization-json = { group = "org.jetbrains.kotlinx", name = "kotlinx-serialization-json", version.ref = "kotlinx-serialization-json" }
91+
kotlinx-datetime = { group = "org.jetbrains.kotlinx", name = "kotlinx-datetime", version.ref = "kotlinx-datetime" }
92+
kotlinx-immutable = { group = "org.jetbrains.kotlinx", name = "kotlinx-collections-immutable", version.ref = "kotlinx-collections-immutable" }
93+
94+
orhanobut-logger = { module = "com.orhanobut:logger", version.ref = "logger" }
95+
detekt-formatting = { group = "io.gitlab.arturbosch.detekt", name = "detekt-formatting", version.ref = "kotlin-detekt" }
96+
1797
junit = { group = "junit", name = "junit", version.ref = "junit" }
18-
androidx-junit = { group = "androidx.test.ext", name = "junit", version.ref = "junitVersion" }
19-
androidx-espresso-core = { group = "androidx.test.espresso", name = "espresso-core", version.ref = "espressoCore" }
20-
androidx-lifecycle-runtime-ktx = { group = "androidx.lifecycle", name = "lifecycle-runtime-ktx", version.ref = "lifecycleRuntimeKtx" }
21-
androidx-activity-compose = { group = "androidx.activity", name = "activity-compose", version.ref = "activityCompose" }
22-
androidx-compose-bom = { group = "androidx.compose", name = "compose-bom", version.ref = "composeBom" }
23-
androidx-ui = { group = "androidx.compose.ui", name = "ui" }
24-
androidx-ui-graphics = { group = "androidx.compose.ui", name = "ui-graphics" }
25-
androidx-ui-tooling = { group = "androidx.compose.ui", name = "ui-tooling" }
26-
androidx-ui-tooling-preview = { group = "androidx.compose.ui", name = "ui-tooling-preview" }
27-
androidx-ui-test-manifest = { group = "androidx.compose.ui", name = "ui-test-manifest" }
28-
androidx-ui-test-junit4 = { group = "androidx.compose.ui", name = "ui-test-junit4" }
29-
androidx-material3 = { group = "androidx.compose.material3", name = "material3" }
98+
androidx-junit = { group = "androidx.test.ext", name = "junit", version.ref = "junit-version" }
3099

31100
[plugins]
32-
android-application = { id = "com.android.application", version.ref = "agp" }
101+
gradle-dependency-handler-extensions = { id = "land.sungbin.dependency.handler.extensions", version.ref = "gradle-dependency-handler-extensions" }
102+
103+
android-application = { id = "com.android.application", version.ref = "android-gradle-plugin" }
104+
android-library = { id = "com.android.library", version.ref = "android-gradle-plugin" }
105+
android-test = { id = "com.android.test", version.ref = "android-gradle-plugin" }
106+
33107
kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
108+
kotlin-jvm = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" }
109+
kotlin-serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" }
34110
kotlin-compose = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" }
35111
kotlin-detekt = { id = "io.gitlab.arturbosch.detekt", version.ref = "kotlin-detekt" }
36112
kotlin-ktlint = { id = "org.jlleitschuh.gradle.ktlint", version.ref = "kotlin-ktlint-gradle" }
37113

114+
ksp = { id = "com.google.devtools.ksp", version.ref = "ksp" }
115+
hilt = { id = "com.google.dagger.hilt.android", version.ref = "hilt" }
116+
117+
# Plugins defined by this project
118+
booket-android-application = { id = "booket.android.application", version = "unspecified" }
119+
booket-android-application-compose = { id = "booket.android.application.compose", version = "unspecified" }
120+
booket-android-library = { id = "booket.android.library", version = "unspecified" }
121+
booket-android-library-compose = { id = "booket.android.library.compose", version = "unspecified" }
122+
booket-android-feature = { id = "booket.android.feature", version = "unspecified" }
123+
booket-android-hilt = { id = "booket.android.hilt", version = "unspecified" }
124+
booket-jvm-library = { id = "booket.jvm.library", version = "unspecified" }
125+
booket-kotlin-library-serialization = { id = "booket.kotlin.library.serialization", version = "unspecified" }
126+
127+
[bundles]
128+
androidx-compose = [
129+
"androidx-compose-foundation",
130+
"androidx-compose-material3",
131+
"androidx-compose-ui",
132+
"androidx-compose-ui-graphics",
133+
"androidx-compose-ui-tooling-preview",
134+
]

0 commit comments

Comments
 (0)