Skip to content

Gradle tasks should be renamed #1473

@jnizet

Description

@jnizet

The convention is to name Gradle tasks like Java methods, in camelCase. Gradle uses that to provide shortcuts. For example, instead of ./gradlew javaCompile, you can just use ./gradlew jC.
Task names become Groovy/Kotlin variables, and you should be able to reference the tasks directly, without using a string:

assemble.dependsOn(quarkusBuild)

Having a dash in the name makes all this more difficult than it should, and breaks one additional Gradle best practice.

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