From 3651db5b84ac079f6fee5ec84c1ac7a45156df80 Mon Sep 17 00:00:00 2001 From: Luke Bemish Date: Thu, 11 Apr 2024 12:36:53 -0500 Subject: [PATCH] Fix test compilation --- build.gradle | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/build.gradle b/build.gradle index ef38921..d716d63 100644 --- a/build.gradle +++ b/build.gradle @@ -201,6 +201,13 @@ tasks.register('generateEmojiList') { } tasks.named('compileTestJava', JavaCompile) { + doFirst { + def dest = destinationDirectory.asFile.get() + if (dest.exists()) { + dest.deleteDir() + } + dest.mkdirs() + } dependsOn tasks.named('fullJar') inputs.file(tasks.fullJar.archiveFile) CommandLineArgumentProvider lateArgs = {