Issue #9: Ignore "invalid package" lint errors in Sentry library.

Sebastian Kaspari 6 years ago
parent 8c534e31a4
commit 2f48de8139

@ -26,6 +26,10 @@ android {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
lintOptions {
lintConfig file("${rootDir}/config/lint.xml")
}
}
dependencies {

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<lint>
<issue id="InvalidPackage">
<!-- Sentry: it uses one SDK for desktop apps and Android apps so I assume it's
calling functions from desktop apps and silently ignoring those calls when
the functions are not available on Android. -->
<ignore path="**/sentry*.jar" />
</issue>
</lint>
Loading…
Cancel
Save