Skip to content

Commit

Permalink
Set up Android lint
Browse files Browse the repository at this point in the history
  • Loading branch information
G00fY2 committed May 4, 2024
1 parent 1564f14 commit cc3c5af
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 4 additions & 2 deletions quickie/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<manifest xmlns:tools="http://schemas.android.com/tools"
xmlns:android="http://schemas.android.com/apk/res/android">

<uses-feature
android:name="android.hardware.camera"
Expand All @@ -12,7 +13,8 @@
<activity
android:name=".QRScannerActivity"
android:screenOrientation="behind"
android:theme="@style/QuickieScannerActivity"/>
android:theme="@style/QuickieScannerActivity"
tools:ignore="DiscouragedApi"/>

</application>

Expand Down
6 changes: 6 additions & 0 deletions sample/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@ android {
buildConfig = true
viewBinding = true
}
lint {
abortOnError = true
warningsAsErrors = true
checkDependencies = true
disable.add("RtlEnabled")
}
}

dependencies {
Expand Down

0 comments on commit cc3c5af

Please sign in to comment.