forked from deliveryhero/whetstone
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: set up Lint baseline for sample project
- Loading branch information
Showing
2 changed files
with
126 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,125 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<issues format="6" by="lint 8.5.2" type="baseline" client="gradle" dependencies="false" name="AGP (8.5.2)" variant="all" version="8.5.2"> | ||
|
||
<issue | ||
id="ForegroundServiceType" | ||
message="To call `Service.startForeground()`, the `<service>` element of manifest file must have the `foregroundServiceType` attribute specified" | ||
errorLine1=" startForeground(1, notification)" | ||
errorLine2=" ~~~~~~~~~~~~~~~"> | ||
<location | ||
file="src/main/java/com/deliveryhero/whetstone/sample/MainService.kt" | ||
line="32" | ||
column="9"/> | ||
</issue> | ||
|
||
<issue | ||
id="ExportedReceiver" | ||
message="Exported receiver does not require permission" | ||
errorLine1=" <receiver android:name=".MainBroadcastReceiver" android:exported="true"/>" | ||
errorLine2=" ~~~~~~~~"> | ||
<location | ||
file="src/main/AndroidManifest.xml" | ||
line="24" | ||
column="10"/> | ||
</issue> | ||
|
||
<issue | ||
id="ObsoleteSdkInt" | ||
message="Unnecessary; SDK_INT is always >= 21" | ||
errorLine1=" <item name="android:statusBarColor" tools:targetApi="l">?attr/colorPrimaryVariant</item>" | ||
errorLine2=" ~~~~~~~~~~~~~~~~~~~"> | ||
<location | ||
file="src/main/res/values-night/themes.xml" | ||
line="13" | ||
column="45"/> | ||
</issue> | ||
|
||
<issue | ||
id="ObsoleteSdkInt" | ||
message="Unnecessary; SDK_INT is always >= 21" | ||
errorLine1=" <item name="android:statusBarColor" tools:targetApi="l">?attr/colorPrimaryVariant</item>" | ||
errorLine2=" ~~~~~~~~~~~~~~~~~~~"> | ||
<location | ||
file="src/main/res/values/themes.xml" | ||
line="13" | ||
column="45"/> | ||
</issue> | ||
|
||
<issue | ||
id="MonochromeLauncherIcon" | ||
message="The application adaptive icon is missing a monochrome tag" | ||
errorLine1="<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">" | ||
errorLine2="^"> | ||
<location | ||
file="src/main/res/mipmap-anydpi-v26/ic_launcher.xml" | ||
line="2" | ||
column="1"/> | ||
</issue> | ||
|
||
<issue | ||
id="MonochromeLauncherIcon" | ||
message="The application adaptive roundIcon is missing a monochrome tag" | ||
errorLine1="<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">" | ||
errorLine2="^"> | ||
<location | ||
file="src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml" | ||
line="2" | ||
column="1"/> | ||
</issue> | ||
|
||
<issue | ||
id="UseTomlInstead" | ||
message="Use version catalog instead" | ||
errorLine1=" implementation("com.google.android.material:material:1.12.0")" | ||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> | ||
<location | ||
file="build.gradle.kts" | ||
line="35" | ||
column="20"/> | ||
</issue> | ||
|
||
<issue | ||
id="UseTomlInstead" | ||
message="Use version catalog instead" | ||
errorLine1=" implementation("androidx.constraintlayout:constraintlayout:2.1.4")" | ||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> | ||
<location | ||
file="build.gradle.kts" | ||
line="36" | ||
column="20"/> | ||
</issue> | ||
|
||
<issue | ||
id="UseTomlInstead" | ||
message="Use version catalog instead" | ||
errorLine1=" testImplementation("junit:junit:4.13.2")" | ||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> | ||
<location | ||
file="build.gradle.kts" | ||
line="37" | ||
column="24"/> | ||
</issue> | ||
|
||
<issue | ||
id="UseTomlInstead" | ||
message="Use version catalog instead" | ||
errorLine1=" androidTestImplementation("androidx.test.ext:junit:1.2.1")" | ||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> | ||
<location | ||
file="build.gradle.kts" | ||
line="38" | ||
column="31"/> | ||
</issue> | ||
|
||
<issue | ||
id="UseTomlInstead" | ||
message="Use version catalog instead" | ||
errorLine1=" androidTestImplementation("androidx.test.espresso:espresso-core:3.6.1")" | ||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> | ||
<location | ||
file="build.gradle.kts" | ||
line="39" | ||
column="31"/> | ||
</issue> | ||
|
||
</issues> |