-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Labels
area/gradleGradleGradle
Milestone
Description
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.
Sanne, vorburger and edeandrea
Metadata
Metadata
Assignees
Labels
area/gradleGradleGradle