Skip to content

Commit 049433d

Browse files
Merge pull request #77 from infinum/enhancement/update-dependencies
Bump Room & add JUnit to version catalog
2 parents 2eab44b + 04bd146 commit 049433d

6 files changed

Lines changed: 9 additions & 6 deletions

File tree

core/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ dependencies {
4444
api libs.libraryannotations
4545
implementation libs.kotlin.core
4646

47-
testImplementation "junit:junit:4.13.2"
47+
testImplementation libs.junit
4848
testImplementation 'org.mockito:mockito-core:4.5.1'
4949
}
5050

generator/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ dependencies {
3434
implementation libs.kotlin.reflect
3535
implementation libs.serialization.core
3636

37-
testImplementation "junit:junit:4.13"
37+
testImplementation libs.junit
3838
testImplementation 'org.mockito:mockito-core:3.3.3'
3939
}
4040

gradle/libs.versions.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,15 @@ activity = "1.9.3"
1313
fragment = "1.8.5"
1414
lifecycle = "2.8.7"
1515
recyclerview = "1.4.0"
16-
room = "2.6.1"
16+
room = "2.8.4"
1717
startup = "1.2.0"
1818
dynamicanimation = "1.1.0"
1919
design = "1.12.0"
2020
detekt = "1.23.8"
2121
ktlintplugin = "14.0.1"
2222
ktlint = "1.8.0"
2323
dokka = "2.1.0"
24+
junit = "4.13.2"
2425

2526
[libraries]
2627
libraryannotations = { module = "com.infinum.collar:collar-annotations", version.ref = "collar" }
@@ -75,6 +76,8 @@ ktlint = { module = "org.jlleitschuh.gradle:ktlint-gradle", version.ref = "ktlin
7576

7677
dokka = { module = "org.jetbrains.dokka:dokka-gradle-plugin", version.ref = "dokka" }
7778

79+
junit = { module = "junit:junit", version.ref = "junit" }
80+
7881
[bundles]
7982
androidx = [
8083
"androidx-core",

lint/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ dependencies {
3939
compileOnly libs.tools.lintapi
4040
compileOnly libs.tools.lintchecks
4141

42-
testImplementation 'junit:junit:4.13.2'
42+
testImplementation libs.junit
4343
testImplementation "org.junit.jupiter:junit-jupiter-api:5.9.2"
4444
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:5.9.2"
4545
testImplementation libs.tools.lintapi

processor/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ dependencies {
2929
implementation libs.poet
3030
implementation libs.kotlin.reflect
3131

32-
testImplementation "junit:junit:4.13"
32+
testImplementation libs.junit
3333
testImplementation 'org.mockito:mockito-core:3.3.3'
3434
}
3535

ui/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ dependencies {
9898
ksp libs.inject.compiler
9999
implementation libs.inject.runtime
100100

101-
testImplementation "junit:junit:4.13"
101+
testImplementation libs.junit
102102
testImplementation 'org.mockito:mockito-core:3.5.7'
103103

104104
androidTestImplementation 'androidx.arch.core:core-testing:2.1.0'

0 commit comments

Comments
 (0)