swagger-api/swagger-codegen
Auf GitHub ansehen[JAVA okhttp-gson; target=Android] Gradle Android build Lint error
Open
#5.279 geöffnet am 1. Apr. 2017
Client: JavaEnhancement: Generalhelp wanted
Repository-Metriken
- Stars
- (12.701 Stars)
- PR-Merge-Metriken
- (Keine gemergten PRs in 30 T)
Beschreibung
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'
}