Skip to content

Add support for Gradle #1128

@marshalhayes

Description

@marshalhayes

Related to an existing integration?

Yes

Existing integration

CommunityToolkit.Aspire.Hosting.Java

Overview

The Java integration currently only supports building with Maven. Gradle is another popular choice in the Java ecosystem, and would likely be worth supporting as well.

Usage example

Usage could look like this:

// apphost.cs
builder.AddJavaApp("spring-app", "./spring-app")
   .WithGradleBuild();

WithGradleBuild could accept optional options as well similar to how WithMavenBuild does.

Breaking change?

No

Alternatives

Outside of creating a custom solution, I don't know of any alternatives that allow Gradle builds.

Additional context

No response

Help us help you

Yes, I'd like to be assigned to work on this item

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestintegrationA new .NET Aspire integration

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions