diff --git a/build.gradle b/build.gradle index 800bbc5..540c0c0 100644 --- a/build.gradle +++ b/build.gradle @@ -20,7 +20,6 @@ tasks.register('buildFolia', Jar) { archiveFileName = 'ShipsFolia.jar' - def path = project.rootDir.path + "/standalone/" file(path).mkdirs() destinationDirectory = file(path) @@ -35,15 +34,14 @@ tasks.register('buildFolia', Jar) { } } - File translateCoreFile = file(project.projectDir.path + '/CoreTo' + type + '/build/libs/TranslateCoreFolia') - if(translateCoreFile.exists()) { - def coreFiles = zipTree(translateCoreFile) - jarFiles.add(coreFiles) - from { - jarFiles - } + File translateCoreFile = file(project.projectDir.path + '/CoreTo' + type + '/build/libs/TranslateCoreFolia.jar') + def coreFiles = zipTree(translateCoreFile) + jarFiles.add(coreFiles) + from { + jarFiles } + } dependencies {