diff options
| author | physick <mynameisgennadiy@vk.com> | 2026-08-20 18:08:25 +0500 |
|---|---|---|
| committer | physick <mynameisgennadiy@vk.com> | 2026-08-20 18:08:25 +0500 |
| commit | 6e7f0e0ae9c57f76bb57a23004819b8cb49589da (patch) | |
| tree | 43abc05566f75e1a7bbfd4238d8498ae31c21336 /jlox/app/build.gradle | |
| parent | 61e1651e5ce526d4a9fcfdf44f3d6e5578f78ba8 (diff) | |
Diffstat (limited to 'jlox/app/build.gradle')
| -rw-r--r-- | jlox/app/build.gradle | 10 |
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' + ) + } +} |
