From ed6932b903ec48a26536675e8991e1031d5c71ff Mon Sep 17 00:00:00 2001 From: OmerBenGera Date: Mon, 29 Apr 2024 20:19:34 +0300 Subject: [PATCH] Fix missing dependency to the copyAPI task --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index f3490b0..bced471 100644 --- a/build.gradle +++ b/build.gradle @@ -114,7 +114,7 @@ shadowJar { configurations = [project.configurations.getByName("runtimeClasspath")] } -task copyAPI(type: Copy) { +task copyAPI(type: Copy, dependsOn: ':API:build') { from rootProject.archiveFolder.getAbsolutePath() + '/API.jar' into rootProject.targetFolder.getAbsolutePath() rename('API.jar', rootProject.name + 'API.jar')