diff --git a/app/build.gradle.kts b/app/build.gradle.kts index bddaa56..d5be576 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -1,4 +1,3 @@ -import java.io.FileInputStream import java.util.Properties plugins { @@ -8,7 +7,9 @@ plugins { val keystorePropertiesFile = rootProject.file("key.properties") val keystoreProperties = Properties() -keystoreProperties.load(FileInputStream(keystorePropertiesFile)) +if (keystorePropertiesFile.exists()) { + keystoreProperties.load(keystorePropertiesFile.inputStream()) +} kotlin { jvmToolchain(17)