Skip to content

Support building an image when using war packaging with Gradle #23825

@wilkinsona

Description

@wilkinsona

It's possible at the moment using a little bit of manual configuration:

bootBuildImage {
	jar = bootWar.archiveFile
}

The jar property is unfortunately named in this case. archive or archiveFile may be better as it would cover both jars and wars. We could also react to the war plugin being applied and automatically make the configuration change above.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions