From ead873d68c97b14128338f9d2ca8a95229a2d8df Mon Sep 17 00:00:00 2001 From: Ponshu Developer Date: Mon, 16 Feb 2026 19:17:41 +0900 Subject: [PATCH] fix: Correct key.properties path in build.gradle.kts and docs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit rootProject.file("app/key.properties") was wrong - rootProject points to android/ so the actual path would be android/app/key.properties, conflicting with .gitignore and DISTRIBUTION_API_KEY_SETUP.md which both specify android/key.properties. Fix: rootProject.file("key.properties") -> resolves to android/key.properties, consistent with .gitignore and the setup guide. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- android/app/build.gradle.kts | 3 ++- docs/DISTRIBUTION_API_KEY_SETUP.md | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/android/app/build.gradle.kts b/android/app/build.gradle.kts index 783c2b3..97c3e66 100644 --- a/android/app/build.gradle.kts +++ b/android/app/build.gradle.kts @@ -9,7 +9,8 @@ plugins { } // Release signing: key.properties から読み込み(存在しない場合はdebug署名にフォールバック) -val keyPropertiesFile = rootProject.file("app/key.properties") +// key.properties の配置場所: android/key.properties(.gitignore で除外済み) +val keyPropertiesFile = rootProject.file("key.properties") val keyProperties = Properties() if (keyPropertiesFile.exists()) { keyProperties.load(keyPropertiesFile.inputStream()) diff --git a/docs/DISTRIBUTION_API_KEY_SETUP.md b/docs/DISTRIBUTION_API_KEY_SETUP.md index 5b2bd04..5afcc02 100644 --- a/docs/DISTRIBUTION_API_KEY_SETUP.md +++ b/docs/DISTRIBUTION_API_KEY_SETUP.md @@ -78,7 +78,7 @@ storeFile=ponshu_release.jks import java.util.Properties // key.properties からリリース署名情報を読み込み -val keyPropertiesFile = rootProject.file("app/key.properties") +val keyPropertiesFile = rootProject.file("key.properties") val keyProperties = Properties() if (keyPropertiesFile.exists()) { keyProperties.load(keyPropertiesFile.inputStream())