summaryrefslogtreecommitdiff
path: root/jlox/app/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'jlox/app/build.gradle')
-rw-r--r--jlox/app/build.gradle10
1 files changed, 9 insertions, 1 deletions
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'
+ )
+ }
+}