Skip to content

Gradle plugin should run on build and not require quarkus-build #1442

@vorburger

Description

@vorburger

I find it sub-optimal that the Gradle plugin requires you to remember to run the quarkus-build task explicitly. Would it not make sense to let users be able to simply run the regular Gradle build task? I do understand this is possible to do "manually" in a build.gradle - what I'm suggesting here is how about making that the default? There must be some way to "bind" it accordingly, although I wouldn't know exactly how to do this in the Gradle plugin code, without digging into it more.

Or is this intentional and better stay like this? If we had a look elsewhere, if I correctly understand e.g. Spring Boot's gradle-plugin doc, quote: "Configures the assemble task to depend on the bootJar task." that means they actually do something like what I'm suggest here?

@stalep @jnizet @renannprado @geoand @Sanne you may have some pro/con thoughts on this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions