swagger-api/swagger-codegen

[JAVA okhttp-gson; target=Android] Gradle Android build Lint error

开放

#5,279 创建于 2017年4月1日

 (1 条评论) (0 个反应) (0 位负责人)HTML (5,474 个派生)batch import
Client: JavaEnhancement: Generalhelp wanted

仓库指标

星标
 (12,701 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

Package not included in Android ../../../../../.gradle/caches/modules-2/files-2.1/com.squareup.okio/okio/1.6.0/98476622f10715998eacf9240d6b479f12c66143/okio-1.6.0.jar: Invalid package reference in library; not included in Android: java.nio.file. Referenced from okio.Okio.

https://github.com/square/retrofit/issues/1014

To suppress this I have add custom build.gradle.mustache template with:

lintOptions {
            warning 'InvalidPackage'
        }

贡献者指南