mirror of
https://github.com/samsonjs/media.git
synced 2026-03-31 10:25:48 +00:00
Fix checker-framework build issues
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=195689456
This commit is contained in:
parent
4b22aa7519
commit
590edf5288
6 changed files with 38 additions and 0 deletions
19
checker-framework-lint.xml
Normal file
19
checker-framework-lint.xml
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
<!-- Copyright (C) 2018 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<lint>
|
||||
<issue id="InvalidPackage">
|
||||
<ignore path="**/checker-qual-*.jar"/>
|
||||
</issue>
|
||||
</lint>
|
||||
|
|
@ -42,6 +42,10 @@ android {
|
|||
// testCoverageEnabled = true
|
||||
// }
|
||||
}
|
||||
|
||||
lintOptions {
|
||||
lintConfig file("../../checker-framework-lint.xml")
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
|
|
|||
|
|
@ -29,3 +29,6 @@
|
|||
-keepclassmembers class com.google.android.exoplayer2.ext.rtmp.RtmpDataSource {
|
||||
<init>();
|
||||
}
|
||||
|
||||
# Don't warn about checkerframework
|
||||
-dontwarn org.checkerframework.**
|
||||
|
|
|
|||
|
|
@ -30,6 +30,10 @@ android {
|
|||
// testCoverageEnabled = true
|
||||
// }
|
||||
}
|
||||
|
||||
lintOptions {
|
||||
lintConfig file("../../checker-framework-lint.xml")
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
|
|
|||
|
|
@ -30,6 +30,10 @@ android {
|
|||
// testCoverageEnabled = true
|
||||
// }
|
||||
}
|
||||
|
||||
lintOptions {
|
||||
lintConfig file("../../checker-framework-lint.xml")
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
|
|
|||
|
|
@ -30,6 +30,10 @@ android {
|
|||
// testCoverageEnabled = true
|
||||
// }
|
||||
}
|
||||
|
||||
lintOptions {
|
||||
lintConfig file("../../checker-framework-lint.xml")
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
|
|
|||
Loading…
Reference in a new issue