fix: Correct key.properties path in build.gradle.kts and docs
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 <noreply@anthropic.com>
This commit is contained in:
parent
d760e7bf08
commit
ead873d68c
|
|
@ -9,7 +9,8 @@ plugins {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Release signing: key.properties から読み込み(存在しない場合はdebug署名にフォールバック)
|
// 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()
|
val keyProperties = Properties()
|
||||||
if (keyPropertiesFile.exists()) {
|
if (keyPropertiesFile.exists()) {
|
||||||
keyProperties.load(keyPropertiesFile.inputStream())
|
keyProperties.load(keyPropertiesFile.inputStream())
|
||||||
|
|
|
||||||
|
|
@ -78,7 +78,7 @@ storeFile=ponshu_release.jks
|
||||||
import java.util.Properties
|
import java.util.Properties
|
||||||
|
|
||||||
// key.properties からリリース署名情報を読み込み
|
// key.properties からリリース署名情報を読み込み
|
||||||
val keyPropertiesFile = rootProject.file("app/key.properties")
|
val keyPropertiesFile = rootProject.file("key.properties")
|
||||||
val keyProperties = Properties()
|
val keyProperties = Properties()
|
||||||
if (keyPropertiesFile.exists()) {
|
if (keyPropertiesFile.exists()) {
|
||||||
keyProperties.load(keyPropertiesFile.inputStream())
|
keyProperties.load(keyPropertiesFile.inputStream())
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue