Add main class attribute
This commit is contained in:
parent
d352168fd8
commit
705dfb6fec
@ -11,3 +11,11 @@ repositories {
|
||||
|
||||
dependencies {
|
||||
}
|
||||
|
||||
jar {
|
||||
manifest {
|
||||
attributes(
|
||||
'Main-Class': 'org.example.Main'
|
||||
)
|
||||
}
|
||||
}
|
@ -89,6 +89,7 @@ public class Main {
|
||||
|
||||
System.out.println(averageAges(people));
|
||||
|
||||
TestChargeVerifier.main(new String[0]);
|
||||
}
|
||||
|
||||
public static void helloWorld() {
|
||||
|
Loading…
Reference in New Issue
Block a user