Skip to content

Commit 0446a9c

Browse files
committed
Ignore a retrofit lint error
square/okio#58
1 parent d5396b4 commit 0446a9c

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

app/build.gradle

+5-1
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@ android {
5858
test.java.srcDirs += 'src/testUtils/java'
5959
androidTest.java.srcDirs += 'src/testUtils/java'
6060
}
61+
62+
lintOptions {
63+
lintConfig file("lint.xml")
64+
}
6165
}
6266

6367
// keep generated classes
@@ -72,7 +76,7 @@ dependencies {
7276
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
7377

7478
// Support Library
75-
def support_library_version = '24.2.0'
79+
def support_library_version = '24.2.1'
7680
compile "com.android.support:leanback-v17:$support_library_version"
7781

7882
// Glide

app/lint.xml

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<lint>
2+
<issue id="InvalidPackage">
3+
<!-- due to an issue with okio, we need to exclude lint errors for it.-->
4+
<!-- http://stackoverflow.com/questions/35492259/lint-error-on-okio -->
5+
<!-- https://github.com/square/okio/issues/58 -->
6+
<ignore regexp=".*okio.*" />
7+
<ignore regexp=".*retrofit.*" />
8+
</issue>
9+
</lint>

0 commit comments

Comments
 (0)