|
1 | 1 | [versions]
|
2 | 2 | grapes-version = '1.22.0'
|
| 3 | +androidGradlePlugin = "8.3.2" |
| 4 | + |
| 5 | +# [ANDROID] |
| 6 | +androidCompileSdk = "34" |
3 | 7 | androidMinSdk = "23"
|
4 | 8 | androidTargetSdk = "34"
|
5 |
| -androidCompileSdk = "34" |
6 | 9 |
|
7 |
| -kotlin = "1.9.21" |
8 |
| -gradle = "8.3.2" |
9 |
| -firebase-app-distrib = "4.0.1" |
10 |
| -ksp = "1.9.21-1.0.16" |
| 10 | +# [PLUGINS] |
| 11 | + |
| 12 | +## Firebase |
| 13 | +firebaseAppdistributionPlugin = "4.0.1" |
| 14 | + |
| 15 | +# [LIBRARIES] |
11 | 16 | detekt = "1.23.6"
|
12 | 17 | detektFormatting = "1.23.6"
|
| 18 | +glide = "4.16.0" |
13 | 19 |
|
14 |
| -# Dagger |
15 |
| -hilt = "2.50" |
16 |
| - |
17 |
| -# Androidx |
18 |
| -androidx-lifecycle-ktx = "2.6.2" |
19 |
| -androidx-fragment-ktx = "1.6.2" |
20 |
| -androidx-core-ktx = "1.12.0" |
21 |
| -androidx-constraintlayout = "2.1.4" |
22 |
| -androidx-appcompat = "1.6.1" |
23 |
| -android-material-version = '1.9.0' |
24 |
| -androidx-test-junit = "1.1.5" |
| 20 | +## AndroidX |
| 21 | +androidxAppcompat = "1.6.1" |
| 22 | +androidxComposeBom = "2024.02.00" |
| 23 | +androidxComposeCompiler = "1.5.7" |
| 24 | +androidxConstraintlayout = "2.1.4" |
| 25 | +androidxCore = "1.12.0" |
| 26 | +androidxEspresso = "3.5.1" |
| 27 | +androidxFragment = "1.6.2" |
| 28 | +androidxLifecycle = "2.7.0" |
| 29 | +androidxTestJunit = "1.1.5" |
25 | 30 |
|
26 |
| -# Compose |
27 |
| -compose-bom = "2024.02.00" |
28 |
| -compose-kotlin-compiler = "1.5.7" |
| 31 | +## Google |
| 32 | +hilt = "2.50" |
| 33 | +ksp = "1.9.21-1.0.16" |
| 34 | +material = '1.11.0' |
29 | 35 |
|
30 |
| -# Image |
31 |
| -glide = "4.16.0" |
| 36 | +## Jetbrains |
| 37 | +kotlin = "1.9.21" |
32 | 38 |
|
33 |
| -# Tests |
| 39 | +## Tests |
34 | 40 | junit4 = "4.13.2"
|
35 |
| -espresso-core = "3.5.1" |
36 | 41 |
|
37 | 42 | [libraries]
|
38 |
| -# Androidx |
39 |
| -androidx-lifecycle-ktx = { group = "androidx.lifecycle", name = "lifecycle-runtime-ktx", version.ref = "androidx-lifecycle-ktx" } |
40 |
| -androidx-core-ktx = { group = "androidx.core", name = "core-ktx", version.ref = "androidx-core-ktx" } |
41 |
| -androidx-appcompat = { group = "androidx.appcompat", name = "appcompat", version.ref = "androidx-appcompat" } |
42 |
| -material = { group = "com.google.android.material", name = "material", version.ref = "android-material-version" } |
43 |
| -androidx-constraintlayout = { group = "androidx.constraintlayout", name = "constraintlayout", version.ref = "androidx-constraintlayout" } |
44 |
| -androidx-fragment-ktx = { group = "androidx.fragment", name = "fragment-ktx", version.ref = "androidx-fragment-ktx" } |
45 |
| - |
46 |
| -# Hilt |
47 |
| -hilt-android = { group = "com.google.dagger", name = "hilt-android", version.ref = "hilt" } |
48 |
| -hilt-compiler = { group = "com.google.dagger", name = "hilt-compiler", version.ref = "hilt" } |
49 | 43 |
|
50 |
| -# Compose |
51 |
| -compose-bom = { group = "androidx.compose", name = "compose-bom", version.ref = "compose-bom" } |
52 |
| -compose-ui = { group = "androidx.compose.ui", name = "ui" } |
53 |
| -compose-ui-tooling = { group = "androidx.compose.ui", name = "ui-tooling" } |
54 |
| -compose-ui-util = { module = "androidx.compose.ui:ui-util" } |
55 |
| -compose-runtime = { group = "androidx.compose.runtime", name = "runtime" } |
56 |
| -compose-foundation = { group = "androidx.compose.foundation", name = "foundation" } |
57 |
| -compose-material = { group = "androidx.compose.material", name = "material" } |
58 |
| -compose-material-icons-core = { group = "androidx.compose.material", name = "material-icons-core" } |
59 |
| -compose-material-icons-extended = { group = "androidx.compose.material", name = "material-icons-extended" } |
60 |
| -compose-material3 = { group = "androidx.compose.material3", name = "material3" } |
61 |
| -compose-tests-ui = { group = "androidx.compose.ui", name = "ui-test-junit4" } |
62 |
| - |
63 |
| -# Image |
64 |
| -glide = { group = "com.github.bumptech.glide", name = "glide", version.ref = "glide" } |
65 |
| -glide-compiler = { group = "com.github.bumptech.glide", name = "ksp", version.ref = "glide" } |
| 44 | +# [ANDROIDX] |
| 45 | +androidx-appcompat = { group = "androidx.appcompat", name = "appcompat", version.ref = "androidxAppcompat" } |
| 46 | +androidx-compose-bom = { group = "androidx.compose", name = "compose-bom", version.ref = "androidxComposeBom" } |
| 47 | +androidx-compose-foundation = { group = "androidx.compose.foundation", name = "foundation" } |
| 48 | +androidx-compose-material = { group = "androidx.compose.material", name = "material" } |
| 49 | +androidx-compose-material-icons-core = { group = "androidx.compose.material", name = "material-icons-core" } |
| 50 | +androidx-compose-material-icons-extended = { group = "androidx.compose.material", name = "material-icons-extended" } |
| 51 | +androidx-compose-material3 = { group = "androidx.compose.material3", name = "material3" } |
| 52 | +androidx-compose-runtime = { group = "androidx.compose.runtime", name = "runtime" } |
| 53 | +androidx-compose-ui = { group = "androidx.compose.ui", name = "ui" } |
| 54 | +androidx-compose-ui-test = { group = "androidx.compose.ui", name = "ui-test-junit4" } |
| 55 | +androidx-compose-ui-tooling = { group = "androidx.compose.ui", name = "ui-tooling" } |
| 56 | +androidx-compose-ui-util = { group = "androidx.compose.ui", name = "ui-util" } |
| 57 | +androidx-constraintlayout = { group = "androidx.constraintlayout", name = "constraintlayout", version.ref = "androidxConstraintlayout" } |
| 58 | +androidx-core-ktx = { group = "androidx.core", name = "core-ktx", version.ref = "androidxCore" } |
| 59 | +androidx-espresso-core = { group = "androidx.test.espresso", name = "espresso-core", version.ref = "androidxEspresso" } |
| 60 | +androidx-fragment-ktx = { group = "androidx.fragment", name = "fragment-ktx", version.ref = "androidxFragment" } |
| 61 | +androidx-lifecycle-ktx = { group = "androidx.lifecycle", name = "lifecycle-runtime-ktx", version.ref = "androidxLifecycle" } |
| 62 | +androidx-test-junit = { group = "androidx.test.ext", name = "junit", version.ref = "androidxTestJunit" } |
66 | 63 |
|
67 |
| -# Misc |
68 |
| -reflection = { group = "org.jetbrains.kotlin", name = "kotlin-reflect", version.ref = "kotlin" } |
| 64 | +# [GOOGLE] |
| 65 | +google-material = { group = "com.google.android.material", name = "material", version.ref = "material" } |
| 66 | +hilt-android = { group = "com.google.dagger", name = "hilt-android", version.ref = "hilt" } |
| 67 | +hilt-compiler = { group = "com.google.dagger", name = "hilt-compiler", version.ref = "hilt" } |
69 | 68 |
|
70 |
| -# Tests |
| 69 | +# [TESTS] |
71 | 70 | junit4 = { group = "junit", name = "junit", version.ref = "junit4" }
|
72 |
| -junit-android = { group = "androidx.test.ext", name = "junit", version.ref = "androidx-test-junit" } |
73 |
| -espresso-core = { group = "androidx.test.espresso", name = "espresso-core", version.ref = "espresso-core" } |
74 | 71 |
|
75 |
| -# Detekt |
| 72 | +# [TOOLS] |
| 73 | +kotlinx-reflect = { group = "org.jetbrains.kotlin", name = "kotlin-reflect", version.ref = "kotlin" } |
| 74 | + |
| 75 | +# [OTHERS] |
76 | 76 | detekt-formatting = { module = "io.gitlab.arturbosch.detekt:detekt-formatting", version.ref = "detektFormatting" }
|
| 77 | +glide = { group = "com.github.bumptech.glide", name = "glide", version.ref = "glide" } |
| 78 | +glide-compiler = { group = "com.github.bumptech.glide", name = "ksp", version.ref = "glide" } |
77 | 79 |
|
78 | 80 | [bundles]
|
79 |
| -compose = ["compose-ui", "compose-ui-tooling", "compose-ui-util", "compose-runtime", "compose-foundation", "compose-material", "compose-material-icons-core", "compose-material-icons-extended", "compose-material3"] |
| 81 | +androidxcompose = ["androidx-compose-ui", "androidx-compose-ui-tooling", "androidx-compose-ui-util", "androidx-compose-runtime", "androidx-compose-foundation", "androidx-compose-material", "androidx-compose-material-icons-core", "androidx-compose-material-icons-extended", "androidx-compose-material3"] |
80 | 82 |
|
81 | 83 | [plugins]
|
82 |
| -android-application = { id = "com.android.application", version.ref = "gradle" } |
83 |
| -android-library = { id = "com.android.library", version.ref = "gradle" } |
| 84 | +android-application = { id = "com.android.application", version.ref = "androidGradlePlugin" } |
| 85 | +android-library = { id = "com.android.library", version.ref = "androidGradlePlugin" } |
| 86 | +detekt = { id = "io.gitlab.arturbosch.detekt", version.ref = "detekt" } |
| 87 | +firebase-appdistribution = { id = "com.google.firebase.appdistribution", version.ref = "firebaseAppdistributionPlugin" } |
| 88 | +hilt = { id = "com.google.dagger.hilt.android", version.ref = "hilt" } |
84 | 89 | kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
|
85 |
| -kotlin-kapt = { id = "org.jetbrains.kotlin.kapt", version.ref = "kotlin" } |
86 | 90 | kotlin-jvm = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" }
|
| 91 | +kotlin-kapt = { id = "org.jetbrains.kotlin.kapt", version.ref = "kotlin" } |
87 | 92 | kotlin-parcelize = { id = "org.jetbrains.kotlin.plugin.parcelize", version.ref = "kotlin" }
|
88 |
| -hilt = { id = "com.google.dagger.hilt.android", version.ref = "hilt" } |
89 |
| -firebase-appdistribution = { id = "com.google.firebase.appdistribution", version.ref = "firebase-app-distrib" } |
90 | 93 | ksp = { id = "com.google.devtools.ksp", version.ref = "ksp" }
|
91 |
| -detekt = { id = "io.gitlab.arturbosch.detekt", version.ref = "detekt" } |
|
0 commit comments