From 842b21b4010fd87edbb4c8fe88b60563aebb2c89 Mon Sep 17 00:00:00 2001 From: iGabyTM Date: Thu, 30 Mar 2023 11:58:42 +0300 Subject: [PATCH] build(plugin): use `tasks.register()` for `copyToServer` --- plugin/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/build.gradle b/plugin/build.gradle index 8ff12b6..b07594c 100644 --- a/plugin/build.gradle +++ b/plugin/build.gradle @@ -98,7 +98,7 @@ shadowJar { ].each { relocate(it.key, project.group + '.arcanevouchers.libs.' + it.value) } } -task copyToServer(type: Copy) { +tasks.register('copyToServer', Copy) { if (testServerVersion == '') { from shadowJar into '../server/plugins'