From 937164e7367dd7daa83b85c1b071786f99bbed79 Mon Sep 17 00:00:00 2001 From: xehpuk Date: Mon, 11 Sep 2023 11:45:27 +0200 Subject: [PATCH] fix(gradle): Deprecation Fixes a deprecation after the update to v8.3 in #2843. --- build.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle.kts b/build.gradle.kts index dc49306d7b..2a1332169c 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -50,7 +50,7 @@ tasks { val androidHome = System.getenv("ANDROID_HOME") ?: throw GradleException("ANDROID_HOME not found") val d8 = "${androidHome}/build-tools/33.0.1/d8" val input = configurations.archives.get().allArtifacts.files.files.first().absolutePath - val work = File("${buildDir}/libs") + val work = layout.buildDirectory.dir("libs").get().asFile exec { workingDir = work