From 95ebc2486cf37b354af0cff40d2227382eec6b4a Mon Sep 17 00:00:00 2001 From: Len Bucchino Date: Wed, 11 Dec 2024 20:28:24 -0600 Subject: [PATCH] Fix copyAnimations build task --- build.gradle | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index c735fcf6c..96a400b01 100644 --- a/build.gradle +++ b/build.gradle @@ -267,9 +267,8 @@ tasks.withType(JavaCompile).configureEach { } tasks.register('copyAnimations', Copy) { - from "src/main/resources/assets/${mod_id}/player_animation" - include 'casting_animations.json' - into "src/main/resources/assets/${mod_id}/animations" + from layout.projectDirectory.file("src/main/resources/assets/${mod_id}/player_animations/casting_animations.json") + into layout.projectDirectory.dir("src/main/resources/assets/${mod_id}/animations") } tasks.classes.dependsOn(tasks.copyAnimations)