From 64cd63ebb581e5e9d7c7a5f327c1403a589c857a Mon Sep 17 00:00:00 2001 From: chew01 Date: Fri, 27 Oct 2023 11:20:09 +0800 Subject: [PATCH] Enable assertion in 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'