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())