From 670c5cd690e39ce3db117d043208977b939268c2 Mon Sep 17 00:00:00 2001 From: Kieran Date: Fri, 9 May 2025 12:55:55 +0100 Subject: [PATCH] fix: build script --- android/app/build.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/app/build.gradle.kts b/android/app/build.gradle.kts index a15b6d6..8c8fb3a 100644 --- a/android/app/build.gradle.kts +++ b/android/app/build.gradle.kts @@ -17,7 +17,7 @@ fun getKeystoreFile(base64String: String?, hash: String, fileName: String): File throw GradleException("Keystore is null") } val decodedBytes = Base64.getDecoder().decode(base64String) - val tempFile = File("${layout.buildDirectory}/keystores/${fileName}") + val tempFile = File("${layout.buildDirectory.get()}/keystores/${fileName}") tempFile.parentFile.mkdirs() tempFile.writeBytes(decodedBytes)