-
Notifications
You must be signed in to change notification settings - Fork 275
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
Gradle dsl to specify the mainClass for protocPlugin #455
Comments
Unfortunately, it only supports uber jar plugins now 😢 and requires the plugin jar specifies the main class in its manifest. We will probably add a mainClass API as that for the maven plugin, but we cannot foresee when that will happen. /cc @Scottmitch |
Thank you for the confirmation, yeah it would be awesome if we can do that, the only temporary workaround that i found for the moment is to download the plugin jar, set the main class into the manifest and use that local version and it indeed work perfectly. |
I just wanted to touch base on this issue. Are PRs welcome to implement this feature? Or is it on the roadmap? |
Sure, PRs are welcome. |
I have same problem . hope this feature will be completed soon。now i use maven gen code with idl file,and coding in gradle project.. |
For quarkus, it looks like the quarkus project should just set main-class in their generated JAR. |
Hi,
I'm trying to rewrite this maven build script into gradle and i'm stuck with this section :
How can we specify the mainClass for pure java plugins ?
The text was updated successfully, but these errors were encountered: