Skip to content

Commit e2c90c8

Browse files
authored
Merge pull request #166 from ashtanko/feature/group_dependencies
Group dependencies
2 parents 2441faa + c739a7a commit e2c90c8

File tree

1 file changed

+86
-43
lines changed

1 file changed

+86
-43
lines changed

gradle/libs.versions.toml

Lines changed: 86 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,82 +1,125 @@
11
[versions]
2-
coroutines = "1.10.2" # https://github.com/Kotlin/kotlinx.coroutines
3-
junit = "5.13.4" # https://junit.org/junit5 | https://central.sonatype.com/artifact/org.junit.jupiter/junit-jupiter
2+
3+
# --- Kotlin & Core ---
44
kotlin = "2.2.10" # https://github.com/JetBrains/kotlin
5-
detekt = "1.23.8" # https://github.com/detekt/detekt
6-
dokka = "2.0.0" # https://github.com/Kotlin/dokka
7-
spotless = "7.2.1" # https://github.com/diffplug/spotless
8-
dependency = "1.33.0" # https://github.com/autonomousapps/dependency-analysis-gradle-plugin
9-
pitest = "1.19.0-rc.1" # https://plugins.gradle.org/plugin/info.solidsoft.pitest
10-
ktlint = "13.0.0" # https://github.com/JLLeitschuh/ktlint-gradle
11-
kapt = "2.1.0" # https://kotlinlang.org/docs/kapt.html
12-
slf4j = "2.0.17" # https://www.slf4j.org TODO remove
13-
rxjava = "3.1.11" # https://github.com/ReactiveX/RxJava
14-
rxkotlin = "3.0.1" # https://github.com/ReactiveX/RxKotlin
15-
lincheck = "2.29" # https://github.com/JetBrains/lincheck
16-
serialization = "1.9.0" # https://github.com/Kotlin/kotlinx.serialization
17-
retrofit = "3.0.0" # https://github.com/square/retrofit
18-
okhttp = "5.1.0" # https://square.github.io/okhttp/changelogs/changelog
19-
dagger = "2.57" # https://dagger.dev
20-
jmh = "1.37" # https://github.com/openjdk/jmh
21-
kotlintest = "3.4.2" # https://mvnrepository.com/artifact/io.kotlintest/kotlintest-core
22-
kotest = "5.9.1" # https://kotest.io
23-
assertj = "3.27.4" # https://mvnrepository.com/artifact/org.assertj/assertj-core | https://assertj.github.io/doc
24-
mockito = "5.19.0" # https://mvnrepository.com/artifact/org.mockito/mockito-core
25-
mockitoKotlin = "6.0.0" # https://github.com/mockito/mockito-kotlin
26-
logback = "1.5.18" # https://logback.qos.ch
27-
hamcrest = "3.0" # https://hamcrest.org/JavaHamcrest/distributables
28-
mockk = "1.14.5" # https://mockk.io
29-
kover = "0.9.1" # https://github.com/Kotlin/kotlinx-kover
30-
diktat = "2.0.0" # https://github.com/saveourtool/diktat
31-
jsoup = "1.21.1" # https://jsoup.org/
32-
turbine = "1.2.1" # https://github.com/cashapp/turbine/releases
33-
truth = "1.4.4" # https://central.sonatype.com/artifact/com.google.truth/truth/overview
34-
sandwich = "2.1.2" # https://github.com/skydoves/sandwich
35-
protobufPlugin = "0.9.5" # https://mvnrepository.com/artifact/com.google.protobuf/protobuf-gradle-plugin
36-
protobufKotlin = "4.32.0" # https://mvnrepository.com/artifact/com.google.protobuf/protobuf-kotlin
37-
protoc = "4.32.0" # https://mvnrepository.com/artifact/com.google.protobuf/protoc
5+
coroutines = "1.10.2" # https://github.com/Kotlin/kotlinx.coroutines
6+
serialization = "1.9.0" # https://github.com/Kotlin/kotlinx.serialization
7+
kapt = "2.1.0" # https://kotlinlang.org/docs/kapt.html
8+
9+
# --- Code Quality & Lint ---
10+
detekt = "1.23.8" # https://github.com/detekt/detekt
11+
dokka = "2.0.0" # https://github.com/Kotlin/dokka
12+
spotless = "7.2.1" # https://github.com/diffplug/spotless
13+
ktlint = "13.0.0" # https://github.com/JLLeitschuh/ktlint-gradle
14+
diktat = "2.0.0" # https://github.com/saveourtool/diktat
3815
binaryCompatibility = "0.18.1"
3916

17+
# --- Testing ---
18+
junit = "5.13.4" # https://junit.org/junit5
19+
kotest = "5.9.1" # https://kotest.io
20+
kotlintest = "3.4.2" # https://mvnrepository.com/artifact/io.kotlintest/kotlintest-core
21+
assertj = "3.27.4" # https://assertj.github.io/doc
22+
mockito = "5.19.0" # https://mvnrepository.com/artifact/org.mockito/mockito-core
23+
mockitoKotlin = "6.0.0" # https://github.com/mockito/mockito-kotlin
24+
mockk = "1.14.5" # https://mockk.io
25+
hamcrest = "3.0" # https://hamcrest.org
26+
turbine = "1.2.1" # https://github.com/cashapp/turbine/releases
27+
truth = "1.4.4" # https://central.sonatype.com/artifact/com.google.truth/truth/overview
28+
lincheck = "2.29" # https://github.com/JetBrains/lincheck
29+
30+
# --- Dependency Management ---
31+
dependency = "1.33.0" # https://github.com/autonomousapps/dependency-analysis-gradle-plugin
32+
33+
# --- Build & Coverage ---
34+
pitest = "1.19.0-rc.1" # https://plugins.gradle.org/plugin/info.solidsoft.pitest
35+
kover = "0.9.1" # https://github.com/Kotlin/kotlinx-kover
36+
37+
# --- Networking & Serialization ---
38+
retrofit = "3.0.0" # https://github.com/square/retrofit
39+
okhttp = "5.1.0" # https://square.github.io/okhttp/changelogs/changelog
40+
sandwich = "2.1.2" # https://github.com/skydoves/sandwich
41+
protobufPlugin = "0.9.5" # https://mvnrepository.com/artifact/com.google.protobuf/protobuf-gradle-plugin
42+
protobufKotlin = "4.32.0" # https://mvnrepository.com/artifact/com.google.protobuf/protobuf-kotlin
43+
protoc = "4.32.0" # https://mvnrepository.com/artifact/com.google.protobuf/protoc
44+
jsoup = "1.21.1" # https://jsoup.org/
45+
46+
# --- Dependency Injection ---
47+
dagger = "2.57" # https://dagger.dev
48+
49+
# --- Logging ---
50+
slf4j = "2.0.17" # https://www.slf4j.org TODO remove
51+
logback = "1.5.18" # https://logback.qos.ch
52+
53+
# --- Concurrency ---
54+
rxjava = "3.1.11" # https://github.com/ReactiveX/RxJava
55+
rxkotlin = "3.0.1" # https://github.com/ReactiveX/RxKotlin
56+
57+
# --- Benchmarking ---
58+
jmh = "1.37" # https://github.com/openjdk/jmh
59+
4060
[libraries]
61+
# --- Kotlin & Core ---
62+
kotlin-stdlib = { module = "org.jetbrains.kotlin:kotlin-stdlib-jdk8", version.ref = "kotlin" }
63+
kotlin-reflect = { module = "org.jetbrains.kotlin:kotlin-reflect", version.ref = "kotlin" }
64+
kotlin-gradle = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlin" }
65+
kotlin-test = { module = "org.jetbrains.kotlin:kotlin-test", version.ref = "kotlin" }
66+
67+
# --- Coroutines ---
4168
kotlin-coroutines = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-jdk8", version.ref = "coroutines" }
4269
kotlin-coroutines-core = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-core", version.ref = "coroutines" }
4370
kotlin-coroutines-slf4j = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-slf4j", version.ref = "coroutines" }
4471
kotlin-coroutines-debug = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-debug", version.ref = "coroutines" }
4572
kotlin-coroutines-test = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-test", version.ref = "coroutines" }
46-
kotlin-stdlib = { module = "org.jetbrains.kotlin:kotlin-stdlib-jdk8", version.ref = "kotlin" }
47-
kotlin-reflect = { module = "org.jetbrains.kotlin:kotlin-reflect", version.ref = "kotlin" }
48-
kotlin-gradle = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlin" }
49-
kotlin-test = { module = "org.jetbrains.kotlin:kotlin-test", version.ref = "kotlin" }
73+
74+
# --- Serialization ---
5075
kotlin-serialization-json = { module = "org.jetbrains.kotlinx:kotlinx-serialization-json", version.ref = "serialization" }
76+
77+
# --- Code Quality ---
5178
detekt_formatting = { module = "io.gitlab.arturbosch.detekt:detekt-formatting", version.ref = "detekt" }
79+
80+
# --- Concurrency ---
5281
rxjava = { module = "io.reactivex.rxjava3:rxjava", version.ref = "rxjava" }
5382
rxkotlin = { module = "io.reactivex.rxjava3:rxkotlin", version.ref = "rxkotlin" }
83+
84+
# --- Testing Tools ---
5485
lincheck = { module = "org.jetbrains.kotlinx:lincheck", version.ref = "lincheck" }
86+
87+
# --- Networking ---
5588
retrofit = { module = "com.squareup.retrofit2:retrofit", version.ref = "retrofit" }
5689
retrofit-mock = { module = "com.squareup.retrofit2:retrofit-mock", version.ref = "retrofit" }
5790
okhttp = { module = "com.squareup.okhttp3:okhttp", version.ref = "okhttp" }
5891
okhttp-logging = { module = "com.squareup.okhttp3:logging-interceptor", version.ref = "okhttp" }
92+
sandwich-retrofit = { group = "com.github.skydoves", name = "sandwich-retrofit", version.ref = "sandwich" }
93+
94+
# --- Dependency Injection ---
5995
dagger = { module = "com.google.dagger:dagger", version.ref = "dagger" }
6096
dagger-compiler = { module = "com.google.dagger:dagger-compiler", version.ref = "dagger" }
97+
98+
# --- Benchmarking ---
6199
jmh = { module = "org.openjdk.jmh:jmh-core", version.ref = "jmh" }
62100
jmh-annprocess = { module = "org.openjdk.jmh:jmh-generator-annprocess", version.ref = "jmh" }
63101
jmh-benchmarks = { module = "org.openjdk.jmh:jmh-core-benchmarks", version.ref = "jmh" }
102+
103+
# --- Logging ---
64104
slf4j = { module = "org.slf4j:slf4j-api", version.ref = "slf4j" }
105+
logback = { module = "ch.qos.logback:logback-core", version.ref = "logback" }
106+
logback-classic = { module = "ch.qos.logback:logback-classic", version.ref = "logback" }
107+
108+
# --- HTML Parsing ---
65109
jsoup = { module = "org.jsoup:jsoup", version.ref = "jsoup" }
66-
sandwich-retrofit = { group = "com.github.skydoves", name = "sandwich-retrofit", version.ref = "sandwich" }
110+
111+
# --- Protobuf ---
67112
protobuf-protoc = { group = "com.google.protobuf", name = "protoc", version.ref = "protoc" }
68113
protobuf-kotlin = { group = "com.google.protobuf", name = "protobuf-kotlin", version.ref = "protobufKotlin" }
69114

70-
# testing libs
115+
# --- Testing Libraries ---
71116
junit = { module = "org.junit.jupiter:junit-jupiter", version.ref = "junit" }
72117
mockk = { module = "io.mockk:mockk", version.ref = "mockk" }
73118
kotlintest-core = { module = "io.kotlintest:kotlintest-core", version.ref = "kotlintest" }
74119
kotlintest-junit5 = { module = "io.kotlintest:kotlintest-runner-junit5", version.ref = "kotlintest" }
75120
assertj = { module = "org.assertj:assertj-core", version.ref = "assertj" }
76121
mockito = { module = "org.mockito:mockito-core", version.ref = "mockito" }
77122
mockito-kotlin = { module = "org.mockito.kotlin:mockito-kotlin", version.ref = "mockitoKotlin" }
78-
logback = { module = "ch.qos.logback:logback-core", version.ref = "logback" }
79-
logback-classic = { module = "ch.qos.logback:logback-classic", version.ref = "logback" }
80123
hamcrest = { module = "org.hamcrest:hamcrest", version.ref = "hamcrest" }
81124
kotest = { module = "io.kotest:kotest-runner-junit5", version.ref = "kotest" }
82125
kotest-property = { module = "io.kotest:kotest-property", version.ref = "kotest" }

0 commit comments

Comments
 (0)