From 79454da1a64d93629aedbd0c4ee69c4298e88284 Mon Sep 17 00:00:00 2001 From: Alexander Brandes Date: Sun, 1 Oct 2023 14:07:36 +0200 Subject: [PATCH] Address deprecated 'Project.buildDir' in build scripts (#4191) --- Core/build.gradle.kts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Core/build.gradle.kts b/Core/build.gradle.kts index 4449ccbe6..59a80aa8a 100644 --- a/Core/build.gradle.kts +++ b/Core/build.gradle.kts @@ -57,8 +57,8 @@ tasks.processResources { doLast { copy { - from(File("$rootDir/LICENSE")) - into("$buildDir/resources/main/") + from(layout.buildDirectory.file("$rootDir/LICENSE")) + into(layout.buildDirectory.dir("resources/main")) } } }