feat: release signing via secrets.properties and shared keystore
Gradle reads signing credentials from repo-root secrets.properties; secrets.properties.example documents setup for work and home builds. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
Android-клиент [Security Alert Center (SAC)](https://git.kalinamall.ru/PapaTramp/security-alert-center).
|
||||
|
||||
**Версия:** `0.5.11` (versionCode 25)
|
||||
**Версия:** `0.5.15` (versionCode 29)
|
||||
|
||||
## Возможности
|
||||
|
||||
@@ -29,12 +29,20 @@ Android-клиент [Security Alert Center (SAC)](https://git.kalinamall.ru/Pap
|
||||
|
||||
JDK 17+, `local.properties`. Опционально `app/google-services.json` для FCM.
|
||||
|
||||
**Debug** (ключ свой на каждом ПК):
|
||||
|
||||
```bash
|
||||
./gradlew assembleDebug
|
||||
```
|
||||
|
||||
APK: `app/build/outputs/apk/debug/app-debug.apk`
|
||||
|
||||
**Release** (один ключ на всех ПК — для обновлений поверх старой версии):
|
||||
|
||||
1. Положить `seaca-release.jks` в корень репозитория (не в git).
|
||||
2. Скопировать `secrets.properties.example` → `secrets.properties`, подставить пароль (ASCII).
|
||||
3. `.\gradlew assembleRelease` — APK: `app/build/outputs/apk/release/app-release.apk`
|
||||
|
||||
## Репозитории
|
||||
|
||||
| Репозиторий | URL |
|
||||
|
||||
Reference in New Issue
Block a user