Skip to content

Commit

Permalink
build: use variable for specifying logback version
Browse files Browse the repository at this point in the history
Instead of specifying the version for the two logback dependencies separately,
use a variable to specify the version to be used.

This should prevent the problem of renovate upgrading the two dependencies
in separate PRs.

SVC-1398
  • Loading branch information
florianesser committed Feb 28, 2024
1 parent 10906ef commit dba0065
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ project.ext {
haleVersion = '5.1.0'
cliVersion = '5.1.0-SNAPSHOT'
groovyVersion = '2.5.19'
logbackVersion = '1.4.11'
}

dependencies {
Expand Down Expand Up @@ -66,8 +67,8 @@ dependencies {
testImplementation 'org.springframework.boot:spring-boot-starter-test'

// Logging
testRuntimeOnly 'ch.qos.logback:logback-core:1.4.11'
testRuntimeOnly 'ch.qos.logback:logback-classic:1.4.11'
testRuntimeOnly "ch.qos.logback:logback-core:$logbackVersion"
testRuntimeOnly "ch.qos.logback:logback-classic:$logbackVersion"
}

configurations.all {
Expand Down

0 comments on commit dba0065

Please sign in to comment.