Skip to content

Commit 15a6081

Browse files
committed
fix: Key store path
Signed-off-by: Hu Shenghao <dede.hu@qq.com>
1 parent c47761d commit 15a6081

File tree

1 file changed

+3
-1
lines changed
  • build-logic/convention/src/main/kotlin/com/dede/android_eggs/dls

1 file changed

+3
-1
lines changed

build-logic/convention/src/main/kotlin/com/dede/android_eggs/dls/Dls.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ private lateinit var _keyprops: Properties
2020
val Project.keyprops: Properties
2121
get() {
2222
if (!::_keyprops.isInitialized) {
23-
_keyprops = loadProperties("key.properties")
23+
_keyprops = rootProject.loadProperties("key.properties")
24+
val stortFilePath = _keyprops.getProperty("storeFile")
25+
println("Key store file path: $stortFilePath")
2426
}
2527
return _keyprops
2628
}

0 commit comments

Comments
 (0)