Fix warning about deprecated Gradle keepRules.file API (#7498)

* Fix warning about deprecated `keepRules.file` API

The proguard files have been moved to `app/proguard` in several directories for `common`, `foss`, and `enterprise` rules and it's those directories that are added through `keepRules.addStaticSourceDirectory(dir)`.

* Use `findPropery` instead of the deprecated `project.properties["key"]` API for `allWarningsAsErrors`

* Remove very legacy .gitignore rule and restore proguard `.keep` rules
This commit is contained in:
Jorge Martin Espinosa
2026-08-21 15:23:34 +02:00
committed by GitHub
parent 1300112edc
commit feef42db5a
5 changed files with 29 additions and 21 deletions
@@ -0,0 +1,2 @@
# Don't obfuscate anything for non-enterprise builds
-dontobfuscate