Skip to content
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

Shadow doesn't recognise application's new mainClass property #662

Closed
BomBardyGamer opened this issue Apr 10, 2021 · 1 comment
Closed

Comments

@BomBardyGamer
Copy link

BomBardyGamer commented Apr 10, 2021

Please check the User Guide before submitting "how do I do 'x'?" questions!

Shadow Version

6.1.0

Gradle Version

7.0

Expected Behavior

shadowJar recognises the new mainClass property (replaces the old mainClassName string field) and uses it appropriately

Actual Behavior

shadowJar errors out because it can't find the value for the mainClassName property

Gradle Build Script(s)

https://pastebin.com/TJWFV78p (you can see if I comment out the old property and set the new property, it doesn't work)

Content of Shadow JAR (jar tf <jar file> - post link to GIST if too long)

N/A

@boris-petrov
Copy link

@BomBardyGamer - this is a duplicate of #645, #631, #609, #612.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants