Files
smoa/docs/development/BUILD.md
T
defiQUG a2dc194a49 Monorepo: Gitea CI, docs, auth/sync, backend APIs, gitignore
- 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
2026-03-23 20:19:24 -07:00

751 B

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

# 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).