swagger-api/swagger-codegen

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

オープン

#5,279 opened on 2017/04/01

 (1 件のコメント) (0 件のリアクション) (0 人の担当者)HTML (5,474 件のフォーク)batch import
Client: JavaEnhancement: Generalhelp wanted

Repository metrics

Stars
 (12,701 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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'
        }

コントリビューターガイド