Skip to content

Commit

Permalink
[DEP] try testing with Spring Boot 3 on Java 17+
Browse files Browse the repository at this point in the history
  • Loading branch information
remkop committed Aug 6, 2023
1 parent 7ebcf1a commit 71553ae
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion dependencies.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
// This file works around dependabot issue https://github.com/dependabot/dependabot-core/issues/1618
// See https://www.sameerkulkarni.de/posts/dependabot-with-gradle/

// Spring Boot 3.0 requires Java 17 as a minimum version
boolean useSpring3 = JavaVersion.current().majorVersion.compareTo("17") >= 0;

ext {
// PICOCLI VERSION

Expand All @@ -25,7 +28,7 @@ ext {
junitDepVersion = "4.11"
junitVersion = "4.13.2"
log4j2Version = "2.20.0"
springBootVersion = "2.7.11" // Spring Boot 3.0 requires Java 17 as a minimum version
springBootVersion = useSpring3 ? "3.1.2" : "2.7.11" // Spring Boot 3.0 requires Java 17 as a minimum version
systemRulesVersion = "1.19.0"
systemLambdaVersion = '1.2.1'
junit5Version = '5.9.3'
Expand Down

0 comments on commit 71553ae

Please sign in to comment.