-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jib gradle plugin and Java modules? #4280
Comments
Ok, so I start using containerizedMode packed:
and that seem to prevent Jib from unpacking the main module. I was able to run my app as a 100% modular app, no classpaths involved. Still unhappy about:
|
UPDATE: actually, searching for
|
Regression confirmed - commenting out the mainClass below triggers main class discovery:
|
Actually, it's WAI that Jib searches for a main class even if you set a custom |
Environment:
Description of the issue:
I would like to specify all of these mylsef:
I have used the below configuration, but this plugin still tries to infer main class and unzip the jar with the main class.
Expected behavior:
I want Jib to stop doing so opinionated and classpath-centric, and allow me to set up main module path and main module myself.
The text was updated successfully, but these errors were encountered: