Skip to content

Commit

Permalink
Uses Spring Boot 3.0.x
Browse files Browse the repository at this point in the history
  • Loading branch information
quandor committed May 17, 2023
1 parent bad5b34 commit b11a88b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
17 changes: 10 additions & 7 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id 'org.springframework.boot' version '2.7.11'
id 'org.springframework.boot' version '3.0.6'
id 'java'
id 'idea'
id "org.cyclonedx.bom" version "1.7.4"
Expand All @@ -9,14 +9,21 @@ plugins {
apply plugin: 'io.spring.dependency-management'

group = 'de.novatec'
version = '1.7'
version = '2.0'

sourceCompatibility = '1.8'
sourceCompatibility = '17'

repositories {
mavenCentral()
}


// We only use snakeyaml transitively, but we want to force the
// current version due to existing CVEs.
// According to https://github.com/spring-projects/spring-boot/issues/34405
// this is a safe
ext['snakeyaml.version'] = '2.0'

dependencies {
annotationProcessor(
"org.projectlombok:lombok"
Expand All @@ -31,10 +38,6 @@ dependencies {
'org.springframework.boot:spring-boot-starter-actuator',
'org.springframework.boot:spring-boot-starter-validation',

// We only use snakeyaml transitively, but we want to force the
// current version due to existing CVEs.
'org.yaml:snakeyaml:2.0',

'org.apache.commons:commons-text:1.10.0',
'org.influxdb:influxdb-java'
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import org.springframework.context.annotation.Configuration;
import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.NotNull;
import jakarta.validation.constraints.NotNull;
import java.util.List;

@Data
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import lombok.Data;

import javax.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotBlank;

@Data
public class MetricQuery {
Expand Down

0 comments on commit b11a88b

Please sign in to comment.