Add main class attribute

This commit is contained in:
Steven Tracey 2023-01-19 15:16:03 -05:00
parent d352168fd8
commit 705dfb6fec
2 changed files with 9 additions and 0 deletions

View File

@ -11,3 +11,11 @@ repositories {
dependencies {
}
jar {
manifest {
attributes(
'Main-Class': 'org.example.Main'
)
}
}

View File

@ -89,6 +89,7 @@ public class Main {
System.out.println(averageAges(people));
TestChargeVerifier.main(new String[0]);
}
public static void helloWorld() {