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")) } } }