Bump org.springframework.boot from 3.3.0 to 3.3.2 & Gradle 8 compatibility (#1626)

Co-authored-by: Anthony Stirling <77850077+Frooodle@users.noreply.github.com>
This commit is contained in:
Ludy 2024-08-03 14:18:51 +02:00 committed by GitHub
parent e6793bd04a
commit 950a0c4b21
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 9 additions and 7 deletions

View file

@ -46,4 +46,4 @@ Docker:
Test: Test:
- changed-files: - changed-files:
- any-glob-to-any-file: 'cucumber/**/*' - any-glob-to-any-file: 'cucumber/**/*'
- any-glob-to-any-file: 'test*' - any-glob-to-any-file: 'src/test**/*'

View file

@ -1,6 +1,6 @@
plugins { plugins {
id "java" id "java"
id "org.springframework.boot" version "3.3.0" id "org.springframework.boot" version "3.3.2"
id "io.spring.dependency-management" version "1.1.6" id "io.spring.dependency-management" version "1.1.6"
id "org.springdoc.openapi-gradle-plugin" version "1.8.0" id "org.springdoc.openapi-gradle-plugin" version "1.8.0"
id "io.swagger.swaggerhub" version "1.3.2" id "io.swagger.swaggerhub" version "1.3.2"
@ -18,8 +18,10 @@ ext {
group = "stirling.software" group = "stirling.software"
version = "0.26.2" version = "0.26.2"
// 17 is lowest but we support and recommend 21 java {
sourceCompatibility = "17" // 17 is lowest but we support and recommend 21
sourceCompatibility = JavaVersion.VERSION_17
}
repositories { repositories {
mavenCentral() mavenCentral()
@ -196,7 +198,7 @@ compileJava {
options.compilerArgs << "-parameters" options.compilerArgs << "-parameters"
} }
task writeVersion { task writeVersion {
def propsFile = file("src/main/resources/version.properties") def propsFile = file("src/main/resources/version.properties")
def props = new Properties() def props = new Properties()
props.setProperty("version", version) props.setProperty("version", version)
@ -226,6 +228,6 @@ tasks.named("test") {
useJUnitPlatform() useJUnitPlatform()
} }
task printVersion { task printVersion {
println project.version println project.version
} }