Skip to content

Commit

Permalink
chore: Update fix for support for Java 8 date/time types
Browse files Browse the repository at this point in the history
  • Loading branch information
rsenden committed Oct 12, 2023
1 parent 6cff8c8 commit e19af1d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion FortifyVulnerabilityExporter-plugin-to-json/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,5 @@ dependencies {
compileOnly 'com.fasterxml.jackson.core:jackson-databind'
compileOnly 'commons-collections:commons-collections'
// Required for Java 8 date/time handling
compileOnly 'com.fasterxml.jackson.datatype:jackson-datatype-jdk8'
compileOnly 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310'
}
5 changes: 2 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,6 @@ allprojects {
// Spring Boot version is compatible with snakeyaml 2.0, which doesn't have
// any known vulnerabilities, so we override the version here.
implementation 'org.yaml:snakeyaml:2.0'
// Required for Java 8 date/time handling
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jdk8'
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310'
}
}
}
Expand All @@ -114,6 +111,8 @@ dependencies {
implementation 'org.hibernate:hibernate-validator'
implementation 'org.hibernate:hibernate-validator-annotation-processor'
implementation 'org.jsoup:jsoup'
// Required for Java 8 date/time handling
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310'
testImplementation('org.springframework.boot:spring-boot-starter-test')
}

Expand Down

0 comments on commit e19af1d

Please sign in to comment.