Skip to content

Commit 2e1fb91

Browse files
authored
Merge junit version to have one consistent, single source of truth version value (#1273)
1 parent 39224f1 commit 2e1fb91

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

application/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,10 @@ dependencies {
8181
implementation 'com.apptasticsoftware:rssreader:3.9.3'
8282

8383
testImplementation 'org.mockito:mockito-core:5.18.0'
84-
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.13.2'
85-
testImplementation 'org.junit.jupiter:junit-jupiter-params:5.13.2'
84+
testImplementation "org.junit.jupiter:junit-jupiter-api:$junitVersion"
85+
testImplementation "org.junit.jupiter:junit-jupiter-params:$junitVersion"
8686
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
87-
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.13.2'
87+
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:$junitVersion"
8888

8989
implementation "com.theokanning.openai-gpt3-java:api:$chatGPTVersion"
9090
implementation "com.theokanning.openai-gpt3-java:service:$chatGPTVersion"

build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ ext {
1515
jooqVersion = '3.20.5'
1616
jacksonVersion = '2.19.1'
1717
chatGPTVersion = '0.18.2'
18+
junitVersion = '5.13.2'
1819
}
1920

2021
// Skips sonarlint during the build, useful for testing purposes.

formatter/build.gradle

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@ dependencies {
66
implementation 'com.google.code.findbugs:jsr305:3.0.2'
77
implementation project(':utils')
88

9-
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.11.4'
10-
testImplementation 'org.junit.jupiter:junit-jupiter-params:5.11.0'
11-
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.11.1'
9+
testImplementation "org.junit.jupiter:junit-jupiter-api:$junitVersion"
10+
testImplementation "org.junit.jupiter:junit-jupiter-params:$junitVersion"
11+
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
12+
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:$junitVersion"
1213
}
1314

0 commit comments

Comments
 (0)