From 6e7f0e0ae9c57f76bb57a23004819b8cb49589da Mon Sep 17 00:00:00 2001 From: physick Date: Thu, 20 Aug 2026 18:08:25 +0500 Subject: build system revamp + entry point --- jlox/app/build.gradle | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'jlox/app/build.gradle') diff --git a/jlox/app/build.gradle b/jlox/app/build.gradle index 87365b8..799620d 100644 --- a/jlox/app/build.gradle +++ b/jlox/app/build.gradle @@ -34,10 +34,18 @@ java { application { // Define the main class for the application. - mainClass = 'org.example.App' + mainClass = 'org.example.lox' } tasks.named('test') { // Use JUnit Platform for unit tests. useJUnitPlatform() } + +tasks.named('jar') { + manifest { + attributes( + 'Main-Class': 'org.example.lox' + ) + } +} -- cgit v1.3