Watch Aspire live streamsDocsTry Aspire

JavaAppResource.withGradleBuild

Method
📦 Aspire.Hosting.Java v13.6.5-preview.1.26559.7
interface JavaAppResource {
// ... omitted for brevity
withGradleBuild(args: string[]): JavaAppResource;
}

Signature

methodwithGradleBuildbuilder
Runs a Gradle build before the Java application starts.
withGradleBuild(args: string[]): JavaAppResource
argsstring[]Arguments passed to the Gradle wrapper. Defaults to `clean build`.
JavaAppResource

Defined on

This method is defined on the following type: