From e578f4ca93f6292f62e4b4c7fa11d17fe0b27c71 Mon Sep 17 00:00:00 2001 From: ByteHamster Date: Sun, 7 Apr 2024 23:28:14 +0200 Subject: CI tweaks (#7069) - Run Checkstyle with gradle to make it easier for users - No longer needs different configuration for new code - Exclude current violations - Fix some violations that somehow couldn't be specified in the exclusion file - Print SpotBugs/Lint/Checkstly violations in GitHub format - Then the CI run gets annotated on the web UI --- app/build.gradle | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'app/build.gradle') diff --git a/app/build.gradle b/app/build.gradle index 5b4fdf6b4..2abb66ccf 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -47,13 +47,11 @@ android { } lint { - disable 'ObsoleteLintCustomCheck', 'CheckResult', 'UnusedAttribute', 'BatteryLife', 'InflateParams', - 'RestrictedApi', 'TrustAllX509TrustManager', 'ExportedReceiver', 'AllowBackup', 'VectorDrawableCompat', - 'StaticFieldLeak', 'UseCompoundDrawables', 'NestedWeights', 'Overdraw', 'UselessParent', 'TextFields', - 'AlwaysShowAction', 'Autofill', 'ClickableViewAccessibility', 'ContentDescription', + disable 'CheckResult', 'MissingMediaBrowserServiceIntentFilter', 'UnusedAttribute', 'InflateParams', + 'RestrictedApi', 'ExportedReceiver', 'NotifyDataSetChanged', 'UseCompoundDrawables', 'NestedWeights', + 'Overdraw', 'UselessParent', 'TextFields', 'AlwaysShowAction', 'Autofill', 'ClickableViewAccessibility', 'KeyboardInaccessibleWidget', 'LabelFor', 'SetTextI18n', 'HardcodedText', 'RelativeOverlap', - 'RtlCompat', 'RtlHardcoded', 'MissingMediaBrowserServiceIntentFilter', 'VectorPath', - 'InvalidPeriodicWorkRequestInterval', 'NotifyDataSetChanged', 'RtlEnabled' + 'RtlHardcoded', 'RtlEnabled', 'ContentDescription' } androidResources { -- cgit v1.2.3