From 0d30ed432b850e81b9d17f4dd8426a4e15bf41b7 Mon Sep 17 00:00:00 2001 From: TPGamesNL Date: Tue, 27 Apr 2021 12:01:27 +0200 Subject: [PATCH] Update build.gradle --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index f51ae3fc9c3..0c0fd0569e7 100644 --- a/build.gradle +++ b/build.gradle @@ -44,7 +44,7 @@ compileTestJava.options.encoding = 'UTF-8' task checkAliases { description 'Checks for the existence of the aliases.' doLast { - def aliasFolder = new File('skript-aliases') + def aliasFolder = project.file('skript-aliases') if (!aliasFolder.exists() || aliasFolder.listFiles().length == 0) { throw new InvalidUserDataException('Aliases are missing from \'skript-aliases\' folder. Consider fetching submodules with \'git submodule update --init\'.') }