Skip to content

Commit 0f7f0ce

Browse files
committed
Update lint baseline file
1 parent 6cbd427 commit 0f7f0ce

2 files changed

Lines changed: 73 additions & 7 deletions

File tree

app/build.gradle.kts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,7 @@ android {
5454
checkTestSources = true
5555
checkGeneratedSources = true
5656
baseline = file("lint-baseline.xml") // To update: ./gradlew updateLintBaseline
57-
disable += listOf(
58-
"MissingTranslation",
59-
"SelectableText",
60-
"IconLocation",
61-
"DuplicateStrings",
62-
)
6357
}
64-
6558
}
6659

6760
dependencies {

app/lint-baseline.xml

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<issues format="6" by="lint 9.0.0" type="baseline" client="gradle" dependencies="true" name="AGP (9.0.0)" variant="all" version="9.0.0">
3+
4+
<issue
5+
id="UnusedAttribute"
6+
message="Attribute `banner` is only used in API level 21 and higher (current min is 1)"
7+
errorLine1=" android:banner=&quot;@mipmap/ic_launcher&quot;"
8+
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
9+
<location
10+
file="src/main/AndroidManifest.xml"
11+
line="5"
12+
column="9"/>
13+
</issue>
14+
15+
<issue
16+
id="UnusedAttribute"
17+
message="Attribute `fillType` is only used in API level 24 and higher (current min is 1)"
18+
errorLine1=" android:fillType=&quot;nonZero&quot;"
19+
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
20+
<location
21+
file="src/main/res/drawable/ic_launcher.xml"
22+
line="8"
23+
column="9"/>
24+
</issue>
25+
26+
<issue
27+
id="AndroidGradlePluginVersion"
28+
message="A newer version of Gradle than 9.2.1 is available: 9.3.1"
29+
errorLine1="distributionUrl=https\://services.gradle.org/distributions/gradle-9.2.1-bin.zip"
30+
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
31+
<location
32+
file="../gradle/wrapper/gradle-wrapper.properties"
33+
line="3"
34+
column="17"/>
35+
</issue>
36+
37+
<issue
38+
id="MinSdkTooLow"
39+
message="The value of minSdkVersion (1) is too low. It can be incremented without noticeably reducing the number of supported devices."
40+
errorLine1=" minSdk = 1"
41+
errorLine2=" ~~~~~~~~~~">
42+
<location
43+
file="build.gradle.kts"
44+
line="14"
45+
column="9"/>
46+
</issue>
47+
48+
<issue
49+
id="UnusedResources"
50+
message="The resource `R.raw.hero_simple_celebration_03` appears to be unused">
51+
<location
52+
file="src/main/res/raw/hero_simple_celebration_03.ogg"/>
53+
</issue>
54+
55+
<issue
56+
id="IconLauncherShape"
57+
message="Launcher icons should not fill every pixel of their square region; see the design guide for details">
58+
<location
59+
file="src/main/res/mipmap/ic_launcher.png"/>
60+
</issue>
61+
62+
<issue
63+
id="UnknownNullness"
64+
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
65+
errorLine1=" protected void onCreate(Bundle savedInstanceState) {"
66+
errorLine2=" ~~~~~~">
67+
<location
68+
file="src/main/java/ir/ammari/rasad/MainActivity.java"
69+
line="51"
70+
column="29"/>
71+
</issue>
72+
73+
</issues>

0 commit comments

Comments
 (0)