You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If main class is not configured, jib should search for a class with the public static void main method defined and use that class as the main class. If multiple classes are found, an error should be thrown.
This should be as a last-resort, OR if the provided main class is not a valid main class.
The goal of this is to provide an even more minimal configuration for a developer, where not even a JAR configuration is needed to find the main class.
The text was updated successfully, but these errors were encountered:
If main class is not configured, jib should search for a class with the
public static void main
method defined and use that class as the main class. If multiple classes are found, an error should be thrown.This should be as a last-resort, OR if the provided main class is not a valid main class.
This fixes #170
The goal of this is to provide an even more minimal configuration for a developer, where not even a JAR configuration is needed to find the main class.
The text was updated successfully, but these errors were encountered: