From 868e946dee974f0ce6506ea6c992ec0ac361e5c5 Mon Sep 17 00:00:00 2001 From: OpenSauce04 Date: Fri, 6 Jun 2025 10:49:16 +0100 Subject: [PATCH] app/build.gradle.kts: Fixed incorrect usage of `layout.buildDirectory` --- src/android/app/build.gradle.kts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/android/app/build.gradle.kts b/src/android/app/build.gradle.kts index 1b369f763..c2f896664 100644 --- a/src/android/app/build.gradle.kts +++ b/src/android/app/build.gradle.kts @@ -22,7 +22,7 @@ plugins { val autoVersion = (((System.currentTimeMillis() / 1000) - 1451606400) / 10).toInt() val abiFilter = listOf("arm64-v8a", "x86_64") -val downloadedJniLibsPath = "${layout.buildDirectory}/downloadedJniLibs" +val downloadedJniLibsPath = "${layout.buildDirectory.get().asFile.path}/downloadedJniLibs" @Suppress("UnstableApiUsage") android { @@ -187,7 +187,7 @@ dependencies { // Download Vulkan Validation Layers from the KhronosGroup GitHub. val downloadVulkanValidationLayers = tasks.register("downloadVulkanValidationLayers") { src("https://github.com/KhronosGroup/Vulkan-ValidationLayers/releases/download/vulkan-sdk-1.4.304.1/android-binaries-1.4.304.1.zip") - dest(file("${layout.buildDirectory}/tmp/Vulkan-ValidationLayers.zip")) + dest(file("${layout.buildDirectory.get().asFile.path}/tmp/Vulkan-ValidationLayers.zip")) onlyIfModified(true) }