From 25d17f5efec9cee7c3e2b00e431416e01b3e83c2 Mon Sep 17 00:00:00 2001 From: Nicholas Jimmy Alden Date: Mon, 30 Oct 2023 23:40:51 +0800 Subject: [PATCH] build: enable assertion from Gradle --- build.gradle | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build.gradle b/build.gradle index a2951cc709e..9a21fdccd3d 100644 --- a/build.gradle +++ b/build.gradle @@ -69,4 +69,8 @@ shadowJar { archiveFileName = 'addressbook.jar' } +run { + enableAssertions = true +} + defaultTasks 'clean', 'test'