chore: 워치 릴리스 빌드 준비 — 업로드 키 서명, 운영 API 주소 속성화, R8, 라이선스 동봉

- 서명·API 주소는 ~/.gradle/gradle.properties 의 NALSSIGAK_* 에서 읽음 (저장소에 키 없음)
- 앱 R8·리소스 줄이기, 스킨은 dex 없게 R8 만 켜고 리소스 줄이기는 끔
- MIT·OFL 전문을 앱 assets 로 같이 실음, *.jks·*.keystore 무시

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
HyeongBaeYangandClaude Opus 5.5 committed 2026-10-06 15:19:13 +09:00
1 parent 8c7fbdaac7
commit b72206f7ee
5 files changed
+55 -2

No files matched your search

+8 -2
View File
@@ -17,9 +17,15 @@ android {
buildTypes {
// 에뮬레이터에서 본 맥의 로컬 백엔드 (compose 포트 9810)
debug { buildConfigField("String", "API_BASE", "\"http://10.0.2.2:9810\"") }
// ponytail: 운영 서버 배포 전이라 비워 둠. 배포하면 https 주소로
release { buildConfigField("String", "API_BASE", "\"\"") }
// 운영 서버 https 주소는 -PNALSSIGAK_API_BASE=… 또는 ~/.gradle/gradle.properties 로
release {
buildConfigField("String", "API_BASE", "\"${providers.gradleProperty("NALSSIGAK_API_BASE").getOrElse("")}\"")
isMinifyEnabled = true
isShrinkResources = true
}
}
// 오픈소스 라이선스 전문을 앱에 같이 싣는다 (MIT·OFL 고지 조건)
sourceSets["main"].assets.directories.add("../licenses")
buildFeatures {
compose = true
buildConfig = true