diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 8dde65b..188d667 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -21,6 +21,7 @@ try { keystoreProperties["keyPassword"] = "" keystoreProperties["storeFile"] = File.createTempFile("temp", ".tmp").absolutePath keystoreProperties["storePassword"] = "" + keystoreProperties["publishCredentialsFile"] = "" } android { @@ -108,6 +109,7 @@ play { enabled.set(false) track.set("production") defaultToAppBundles.set(true) + serviceAccountCredentials.set(file((keystoreProperties["publishCredentialsFile"] as? String).orEmpty())) } dependencies { diff --git a/keystore.properties.sample b/keystore.properties.sample index c67223a..971c0d2 100644 --- a/keystore.properties.sample +++ b/keystore.properties.sample @@ -1,4 +1,5 @@ storePassword= keyPassword= keyAlias= -storeFile= \ No newline at end of file +storeFile= +publishCredentialsFile= \ No newline at end of file