Fix checkstyle

This commit is contained in:
Stypox 2025-01-26 16:21:17 +01:00 committed by AudricV
parent 6010c4ea7f
commit 3bdae81c0a
No known key found for this signature in database
GPG key ID: DA92EC7905614198
2 changed files with 3 additions and 3 deletions

View file

@ -185,7 +185,7 @@ afterEvaluate {
if (!System.properties.containsKey('skipFormatKtlint')) { if (!System.properties.containsKey('skipFormatKtlint')) {
preDebugBuild.dependsOn formatKtlint preDebugBuild.dependsOn formatKtlint
} }
//preDebugBuild.dependsOn runCheckstyle, runKtlint preDebugBuild.dependsOn runCheckstyle, runKtlint
} }
sonar { sonar {
@ -208,7 +208,7 @@ dependencies {
implementation 'com.github.TeamNewPipe:nanojson:1d9e1aea9049fc9f85e68b43ba39fe7be1c1f751' implementation 'com.github.TeamNewPipe:nanojson:1d9e1aea9049fc9f85e68b43ba39fe7be1c1f751'
// WORKAROUND: if you get errors with the NewPipeExtractor dependency, replace `v0.24.3` with // WORKAROUND: if you get errors with the NewPipeExtractor dependency, replace `v0.24.3` with
// the corresponding commit hash, since JitPack is sometimes buggy // the corresponding commit hash, since JitPack is sometimes buggy
implementation 'com.github.FireMasterK:NewPipeExtractor:5528d5c31b400aac8e8930fef16f7b981b5cc0a4' implementation 'com.github.FireMasterK:NewPipeExtractor:d2cbd09089e8af933738f98b671ad58236a79d6e'
implementation 'com.github.TeamNewPipe:NoNonsense-FilePicker:5.0.0' implementation 'com.github.TeamNewPipe:NoNonsense-FilePicker:5.0.0'
/** Checkstyle **/ /** Checkstyle **/

View file

@ -345,7 +345,7 @@ public final class DeviceUtils {
try { try {
CookieManager.getInstance(); CookieManager.getInstance();
return true; return true;
} catch (Throwable ignored) { } catch (final Throwable ignored) {
return false; return false;
} }
} }