summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorŁukasz Paczos <lukas.paczos@gmail.com>2019-03-12 14:02:51 +0100
committerŁukasz Paczos <lukasz.paczos@mapbox.com>2019-03-12 15:17:22 +0100
commit8ce404e645b735c16518f5779c03bbfb7a48019b (patch)
tree9abff654fc430e16b06a1e8c77720575c1868163
parent2a4b67f4ae2665d9166b1ceb6d37fa44afa67400 (diff)
downloadqtlocation-mapboxgl-8ce404e645b735c16518f5779c03bbfb7a48019b.tar.gz
[android] explicitly declare MapboxIssueRegistry's lint version
-rw-r--r--platform/android/MapboxGLAndroidSDKLint/src/main/java/com/mapbox/mapboxsdk/lint/MapboxIssueRegistry.kt4
1 files changed, 4 insertions, 0 deletions
diff --git a/platform/android/MapboxGLAndroidSDKLint/src/main/java/com/mapbox/mapboxsdk/lint/MapboxIssueRegistry.kt b/platform/android/MapboxGLAndroidSDKLint/src/main/java/com/mapbox/mapboxsdk/lint/MapboxIssueRegistry.kt
index 790fab99ea..af9ca60574 100644
--- a/platform/android/MapboxGLAndroidSDKLint/src/main/java/com/mapbox/mapboxsdk/lint/MapboxIssueRegistry.kt
+++ b/platform/android/MapboxGLAndroidSDKLint/src/main/java/com/mapbox/mapboxsdk/lint/MapboxIssueRegistry.kt
@@ -1,9 +1,13 @@
package com.mapbox.mapboxsdk.lint
import com.android.tools.lint.client.api.IssueRegistry
+import com.android.tools.lint.detector.api.CURRENT_API
import com.android.tools.lint.detector.api.Issue
class MapboxIssueRegistry : IssueRegistry() {
override val issues: List<Issue>
get() = listOf(KeepDetector.ISSUE_NOT_KEPT)
+
+ override val api: Int
+ get() = CURRENT_API
} \ No newline at end of file