Skip to content

Commit 3600127

Browse files
authored
Merge pull request #203 from pjfanning/jackson-upgrade
update to jackson 2.9.6 due to CVEs
2 parents fc9faa5 + 117fefa commit 3600127

File tree

1 file changed

+14
-10
lines changed

1 file changed

+14
-10
lines changed

build.gradle

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ subprojects {
3333
mavenCentral()
3434
}
3535

36+
ext {
37+
jacksonVersion = '2.9.6'
38+
powermockVersion = '1.6.6'
39+
}
40+
3641
apply plugin: 'maven'
3742
apply plugin: 'maven-publish'
3843
apply plugin: 'java'
@@ -43,19 +48,18 @@ subprojects {
4348

4449
//noinspection GroovyAssignabilityCheck
4550
dependencies {
46-
compile 'com.fasterxml.jackson.core:jackson-core:2.4.2'
47-
compile 'com.fasterxml.jackson.core:jackson-annotations:2.4.2'
48-
compile 'com.fasterxml.jackson.core:jackson-databind:2.4.2'
49-
compile 'com.google.guava:guava:17.0'
50-
compile 'org.slf4j:slf4j-api:1.7.7'
51-
compile 'commons-codec:commons-codec:1.9'
52-
testCompile 'junit:junit:4.11'
53-
testCompile 'org.powermock:powermock-module-junit4:1.6.6'
54-
testCompile 'org.powermock:powermock-api-mockito:1.6.6'
51+
compile "com.fasterxml.jackson.core:jackson-core:$jacksonVersion"
52+
compile "com.fasterxml.jackson.core:jackson-annotations:$jacksonVersion"
53+
compile "com.fasterxml.jackson.core:jackson-databind:$jacksonVersion"
54+
compile "com.google.guava:guava:17.0"
55+
compile "org.slf4j:slf4j-api:1.7.25"
56+
compile "commons-codec:commons-codec:1.9"
57+
testCompile "junit:junit:4.12"
58+
testCompile "org.powermock:powermock-module-junit4:$powermockVersion"
59+
testCompile "org.powermock:powermock-api-mockito:$powermockVersion"
5560
}
5661
}
5762

58-
5963
task wrapper(type: Wrapper) {
6064
gradleVersion = '2.0'
6165
}

0 commit comments

Comments
 (0)