Skip to content

Commit

Permalink
Externalize Spring Versions as properties
Browse files Browse the repository at this point in the history
  • Loading branch information
larsgrefer committed Jul 31, 2023
1 parent 971b353 commit e8aed6a
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
spring5Verison=5.3.29
spring6Version=6.0.11

org.gradle.caching=true
org.gradle.parallel=true
4 changes: 2 additions & 2 deletions sass-embedded-host/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ dependencies {
webjarsSupportImplementation "org.webjars:webjars-locator-core:0.53"
compileOnly "org.jboss:jboss-vfs:3.3.0.Final"

springSupportApi "org.springframework:spring-core:5.3.29"
springWebmvcSupportApi "org.springframework:spring-webmvc:5.3.29"
springSupportApi "org.springframework:spring-core:$spring5Verison"
springWebmvcSupportApi "org.springframework:spring-webmvc:$spring5Verison"

testImplementation 'ch.qos.logback:logback-classic:1.4.8'

Expand Down
2 changes: 1 addition & 1 deletion sass-embedded-spring5/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ description = "SASS Embedded Spring 5"
dependencies {
api project(":sass-embedded-host")

api "org.springframework:spring-webmvc:5.3.29"
api "org.springframework:spring-webmvc:$spring5Verison"
compileOnly 'jakarta.servlet:jakarta.servlet-api:4.0.3'
}
2 changes: 1 addition & 1 deletion sass-embedded-spring6/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ java.toolchain.languageVersion = JavaLanguageVersion.of(17)
dependencies {
api project(":sass-embedded-host")

api "org.springframework:spring-webmvc:6.0.11"
api "org.springframework:spring-webmvc:$spring6Version"
compileOnly 'jakarta.servlet:jakarta.servlet-api:6.0.0'
}

0 comments on commit e8aed6a

Please sign in to comment.