Skip to content

Commit d41490d

Browse files
authored
Merge pull request #493 from swagger-api/ticket-9753
fixes resteasy dateLibrary dependent gradle
2 parents ccd7a53 + f8ec5f4 commit d41490d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/main/resources/handlebars/JavaJaxRS/resteasy/gradle.mustache

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,13 @@ dependencies {
2525
{{#useBeanValidation}}
2626
providedCompile 'javax.validation:validation-api:1.1.0.Final'
2727
{{/useBeanValidation}}
28-
compile 'com.fasterxml.jackson.datatype:jackson-datatype-joda:2.4.1'
28+
{{^java8}}
29+
compile 'com.fasterxml.jackson.datatype:jackson-datatype-joda:2.9.10'
2930
compile 'joda-time:joda-time:2.7'
31+
{{/java8}}
32+
{{#java8}}
33+
compile 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.9.10'
34+
{{/java8}}
3035
//TODO: swaggerFeature
3136
{{#useOas2}}
3237
compile 'io.swagger:swagger-jaxrs:1.5.12'

0 commit comments

Comments
 (0)