Skip to content

Commit

Permalink
Add compile dependency on old version of jackson-annotations to avoid…
Browse files Browse the repository at this point in the history
… warnings about missing enum constants
  • Loading branch information
jkschneider committed Apr 19, 2017
1 parent 93a5ff6 commit 7b08c95
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions rewrite-core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@ dependencies {

compile 'com.fasterxml.jackson.core:jackson-databind:2.8.7', optional

// To avoid "warning: unknown enum constant JsonTypeInfo$As.PROPERTY" type warnings
// when using rewrite but not needing serialization functionality. We pick an old version
// of this library so that if the user depends on an older version of Jackson, we don't
// inadvertently upgrade their version.
compile 'com.fasterxml.jackson.core:jackson-annotations:2.0.0'

compile 'org.ow2.asm:asm:latest.release'
compile 'org.ow2.asm:asm-util:latest.release'

Expand Down

0 comments on commit 7b08c95

Please sign in to comment.