Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithWrapperPath

Method
📦 Aspire.Hosting.Java v17.0.0-preview.1.26565.2
func (JavaAppResource) WithWrapperPath(wrapperPath string) JavaAppResource

Signature

methodWithWrapperPathbuilder
Overrides the build tool wrapper script path, for repositories whose wrapper is not in the default location or does not use the default name.
WithWrapperPath(wrapperPath string) JavaAppResource
wrapperPathstringThe path to the wrapper script, absolute or relative to the resource's working directory.
JavaAppResource

A reference to the IResourceBuilder.

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types: