Skip to content

Use a Property<String> named mainClass to configure the main class name in the Gradle plugin #23608

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

Closed
wilkinsona opened this issue Oct 7, 2020 · 0 comments
Assignees
Labels
status: noteworthy A noteworthy issue to call out in the release notes type: enhancement A general enhancement
Milestone

Comments

@wilkinsona
Copy link
Member

Gradle seems to have settled on a Property<String> named mainClass for configuring the name of the main class. See, for example, JavaApplication, JavaExecSpec, and CreateStartScripts.

We should align by introducing a new Property<String> and deprecating the old String property. Moving to a Property<String> will also help with supporting the configuration cache.

@wilkinsona wilkinsona added the type: enhancement A general enhancement label Oct 7, 2020
@wilkinsona wilkinsona added this to the 2.4.x milestone Oct 7, 2020
@wilkinsona wilkinsona self-assigned this Oct 7, 2020
@wilkinsona wilkinsona modified the milestones: 2.4.x, 2.4.0-M4 Oct 8, 2020
@wilkinsona wilkinsona added the status: noteworthy A noteworthy issue to call out in the release notes label Oct 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: noteworthy A noteworthy issue to call out in the release notes type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

1 participant