swagger-api/swagger-codegen

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

Open

#3,426 创建于 2016年7月20日

在 GitHub 查看
 (4 评论) (0 反应) (0 负责人)HTML (5,474 fork)batch import
Client: AndroidClient: JavaEnhancement: PerformanceFeature: Documentationhelp wanted

仓库指标

Star
 (12,701 star)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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?

贡献者指南