File tree Expand file tree Collapse file tree 3 files changed +23
-9
lines changed
Expand file tree Collapse file tree 3 files changed +23
-9
lines changed Original file line number Diff line number Diff line change @@ -43,20 +43,17 @@ android {
4343 targetCompatibility JavaVersion . VERSION_1_8
4444 }
4545
46+ lint {
47+ baseline = file(" lint-baseline.xml" )
48+ }
49+
4650 lintOptions {
4751 textOutput " stdout"
4852 checkAllWarnings true
4953 warningsAsErrors true
50- disable " UnusedResources" // Unused will be removed on release
51- disable " IconExpectedSize" // Using the material icons provided from Google
52- disable " GoogleAppIndexingApiWarning" // We might want to index our app later
53- disable " InvalidPackage" // Butterknife, Okio and Realm
54- disable " ResourceType" // Annotation binding
55- disable " GradleDependency"
56- disable " NewerVersionAvailable"
57- disable " DuplicatePlatformClasses" // xpp3 added by azure-identity
58- disable " LambdaLast"
54+ lintConfig file(" lint.xml" )
5955 }
56+
6057 sourceSets {
6158 main {
6259 java. srcDirs = [' ../src/main/java' ]
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <issues format =" 6" by =" lint 8.7.2" type =" baseline" client =" gradle" dependencies =" false" name =" AGP (8.7.2)" variant =" all" version =" 8.7.2" >
3+
4+ <issue
5+ id =" InvalidPackage"
6+ message =" Invalid package reference in com.azure:azure-xml; not included in Android: `javax.xml.stream`. Referenced from `com.azure.xml.XmlReader`." >
7+ <location
8+ file =" $GRADLE_USER_HOME/caches/modules-2/files-2.1/com.azure/azure-xml/1.1.0/8218a00c07f9f66d5dc7ae2ba613da6890867497/azure-xml-1.1.0.jar" />
9+ </issue >
10+
11+ </issues >
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <lint >
3+ <issue id =" LambdaLast" >
4+ <ignore path =" ../src/main/java/com/microsoft/graph/core/requests/GraphClientFactory.java" />
5+ </issue >
6+ </lint >
You can’t perform that action at this time.
0 commit comments