Fix checker-framework build issues

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=195689456
This commit is contained in:
olly 2018-05-07 11:06:18 -07:00 committed by Oliver Woodman
parent 4b22aa7519
commit 590edf5288
6 changed files with 38 additions and 0 deletions

View 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>

View file

@ -42,6 +42,10 @@ android {
// testCoverageEnabled = true
// }
}
lintOptions {
lintConfig file("../../checker-framework-lint.xml")
}
}
dependencies {

View file

@ -29,3 +29,6 @@
-keepclassmembers class com.google.android.exoplayer2.ext.rtmp.RtmpDataSource {
<init>();
}
# Don't warn about checkerframework
-dontwarn org.checkerframework.**

View file

@ -30,6 +30,10 @@ android {
// testCoverageEnabled = true
// }
}
lintOptions {
lintConfig file("../../checker-framework-lint.xml")
}
}
dependencies {

View file

@ -30,6 +30,10 @@ android {
// testCoverageEnabled = true
// }
}
lintOptions {
lintConfig file("../../checker-framework-lint.xml")
}
}
dependencies {

View file

@ -30,6 +30,10 @@ android {
// testCoverageEnabled = true
// }
}
lintOptions {
lintConfig file("../../checker-framework-lint.xml")
}
}
dependencies {