From e8dd8b1b44e588e609da19fec04bc48af2b46002 Mon Sep 17 00:00:00 2001 From: craigtonlian <108467437+craigtonlian@users.noreply.github.com> Date: Wed, 25 Oct 2023 13:15:59 +0800 Subject: [PATCH] Enable assertions with Gradle build --- build.gradle | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build.gradle b/build.gradle index 19e2f352a54..1981f95e368 100644 --- a/build.gradle +++ b/build.gradle @@ -69,4 +69,8 @@ shadowJar { archiveFileName = 'staffsnap.jar' } +run { + enableAssertions = true +} + defaultTasks 'clean', 'test'