swagger-api/swagger-codegen

[JAVA, ANDROID] Use joda-time-android dependency when using android as target

Open

#3 426 ouverte le 20 juil. 2016

Voir sur GitHub
 (4 commentaires) (0 réactions) (0 assignés)HTML (5 474 forks)batch import
Client: AndroidClient: JavaEnhancement: PerformanceFeature: Documentationhelp wanted

Métriques du dépôt

Stars
 (12 701 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

As mentioned in #3413 use 'net.danlew:android.joda:$jodatime_version' instead of "joda-time:joda-time:$jodatime_version" for performance improvements

First idea to make this work is wrapping the compile and version definition calls into if(hasProperty('target') && target == 'android') but I'm not sure if this is the best solution for this.

Maybe someone could point me in a better direction?

Guide contributeur