Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

AddQuarkusApp

Method
📦 Aspire.Hosting.Java v17.0.0-preview.1.26565.2
func (DistributedApplicationBuilder) AddQuarkusApp(
name string,
appDirectory string,
) JavaAppResource

Signature

methodAddQuarkusAppbuilder
Adds a Quarkus application to the application model, built and launched with its own Maven or Gradle wrapper.
AddQuarkusApp(
name string,
appDirectory string,
) JavaAppResource
namestringThe name of the resource.
appDirectorystringThe application directory, containing pom.xml, build.gradle, build.gradle.kts, settings.gradle, or settings.gradle.kts. Relative paths are resolved against the AppHost directory.
JavaAppResource

A reference to the IResourceBuilder.

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

Applies to

This method applies to the following types:

typeDistributedApplicationBuilder