- Add Gitea Actions workflow; point README to gitea.d-bis.org/Sankofa_Phoenix/SMOA - Expand .gitignore for Spring H2 data, secrets, Kotlin .kotlin/, tooling - Track docs/api/generated ReDoc bundle; refresh api docs README - Android: network/auth/sync, UI shell, tests; backend credentials/integrity APIs - Docs, scripts (generate-api-docs), modules and core updates Made-with: Cursor
29 lines
751 B
Markdown
29 lines
751 B
Markdown
# Building SMOA
|
|
|
|
## Requirements
|
|
|
|
- **JDK 17** (`JAVA_HOME` pointing at a JDK with `bin/java`)
|
|
- **Android SDK** with **Platform 34** (match `AppConfig.compileSdk`) for `:app:assembleDebug`
|
|
|
|
## Commands
|
|
|
|
```bash
|
|
# Recommended one-liner (backend tests + debug APK):
|
|
./gradlew smoaVerify --no-daemon
|
|
|
|
# Or from repo root:
|
|
./scripts/build-all.sh
|
|
|
|
# Individual targets:
|
|
./gradlew :backend:test # Spring Boot unit/integration tests
|
|
./gradlew :app:assembleDebug # Android debug APK
|
|
./gradlew build # Full multi-project (needs Android SDK)
|
|
```
|
|
|
|
Debug APK output: `app/build/outputs/apk/debug/app-debug.apk`
|
|
|
|
## CI
|
|
|
|
Gitea Actions runs `./gradlew smoaVerify --no-daemon` on push and pull requests
|
|
(see `.gitea/workflows/ci.yml`).
|