Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

JavaAppResource.WithWrapperPath

Method
📦 Aspire.Hosting.Java v17.0.0-preview.1.26565.2
type JavaAppResource interface {
// ... omitted for brevity
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().

Defined on

This method is defined on the following type: