aboutsummaryrefslogtreecommitdiffstats
path: root/app/proguard-rules.pro
AgeCommit message (Collapse)AuthorFilesLines
25 hoursbuild(deps): update JGit from 4.5.7 to 5.13.5Danilo M.1-0/+6
JGit 4.5.7 dates from 2019. 5.13 is the last line that needs only Java 8 APIs, so it works with Android's desugaring; it also fixes GHSA-3p86-9955-h393 (arbitrary file overwrite on checkout). GHSA-vrpq-qp53-qv56 (XXE in repo manifest parsing) has no 5.x fix but the app never parses repo manifests. API changes: - SshSessionFactory now requires getType(). - CheckoutCommand.setForce is deprecated; setForceRefUpdate is its documented replacement with the same meaning. JGit 5 references java.lang.management and javax.management, which Android lacks; R8 flagged them. Both paths are made unreachable rather than only silenced: - WindowCache registers JMX statistics by default; Application.onCreate now installs a WindowCacheConfig with exposeStatsViaJmx = false. - GC.gc() takes a PID lock that queries ManagementFactory and would throw NoClassDefFoundError on a device. GcOperation now runs the GC steps (packRefs, repack, prune) directly; the lock only guards against concurrent gc processes, which cannot happen in the app. Aggressive packing is dropped. The R8 -dontwarn rules and the lint baseline entries are added only for those two now-unreachable references. JGitBehaviourTest covers the operations' command chains plus the GC steps and passes on 5.13.5. It now ignores the developer's global git config, which JGit 5 reads (commit.gpgsign made test commits try to sign). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2023-11-28feat: remove WhatTheStackHarsh Shandilya1-5/+0
This is pretty unmaintained
2023-11-28chore: reorder ProGuard rulesHarsh Shandilya1-5/+0
2023-11-27fix(deps): upgrade to JGit 4.5.7.201904151645-rHarsh Shandilya1-0/+1
Currently requires deleting and re-cloning the repository to properly detect symlink support, this will be fixed in the future to auto-detect on existing repositories as well. Fixes #2594 Fixes #2396 Fixes #636 Fixes #387 Fixes #98
2023-09-04fix(deps): update dependency com.hierynomus:sshj to v0.36.0 (#2670)renovate[bot]1-1/+0
* fix(deps): update dependency com.hierynomus:sshj to v0.36.0 * refactor(build): drop unnecessary explicit dependency * chore(idea): cruft * fix(app): ensure SLF4J v1 is used * fix(build): disable illegal BindsCanBeExtensionFunction lint * chore: refresh Lint baselines --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2023-05-31Revert "fix: adjust R8 rules"Harsh Shandilya1-1/+3
This reverts commit 9838801ed3a0fb83368ede8166e38a38d056f618.
2023-05-28fix: adjust R8 rulesHarsh Shandilya1-3/+1
Workaround for https://github.com/getsentry/sentry-java/issues/2738
2022-02-21Add CI job to assemble release APKs and fix build (#1742)Harsh Shandilya1-1/+1
2022-02-21Cleanup R8 rules (#1739)Harsh Shandilya1-22/+6
2021-10-20Fix proguard rules which prevent whole program minification (#1521)Harsh Shandilya1-2/+1
2020-09-03Refactor Git operations and auth (#1066)Fabian Henneke1-0/+1
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2020-09-01Add Keystore backend for SSH public key authentication (#1070)Fabian Henneke1-1/+0
2020-08-13Update R8 rules (#1017)Fabian Henneke1-6/+5
Removes superfluous dontwarn rules, adds relevant new ones and removes a keep rule for SearchView that has meanwhile been added to the dependency.
2020-08-11Uprev Gradle and dependencies (#1007)Harsh Shandilya1-4/+0
* build: uprev Gradle Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * build: uprev dependencies Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * app/proguard: remove Tink rules I'm assuming the R8 problems fixed by the Tink upgrade cover this as well Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-06-25build: uprev all dependencies (#882)Harsh Shandilya1-0/+5
* build: uprev all dependencies Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * proguard: add keep rule for WhatTheStack sigh Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-06-11Dependency updates (#844)Harsh Shandilya1-0/+4
* build: uprev dependencies, add leakcanary plumber to patch leaks at runtime Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * build: upgrade security-crypto Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * build: fix copypasta fail Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-05-28Use SSHJ for SSH public key authentication (#801)Fabian Henneke1-0/+3
2020-01-01Update proguard configuration (#605)Harsh Shandilya1-2/+2
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-12-16Fix release builds (#601)Harsh Shandilya1-0/+3
* proguard: Don't obfuscate stacktraces * Deploy snapshots from this branch * PasswordRepository: Handle uninitialized settings * Keep classes that are used in parcels * Revert "Deploy snapshots from this branch" This reverts commit 66918ca2b90dbf7629bd56606eb3d3f578d96105. Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-07-16proguard: Fix SearchView FQCNHarsh Shandilya1-1/+1
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2015-07-21fix release build crashMatthew Wong1-1/+2
2015-07-19enable proguard and versions bumpsv1.2.0.24Mohamed Zenadi1-0/+4
2015-05-17fix #85, use key_ids correctlyMohamed Zenadi1-0/+1
as bonus, guava and retrolambda! Nicer code
2014-07-24initial commitZeapo1-0/+17