Skip to content

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

@wilkinsona

Description

@wilkinsona

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.

Metadata

Metadata

Assignees

Labels

status: noteworthyA noteworthy issue to call out in the release notestype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions