Martin Nguyen
08/26/2024, 4:11 AMGradle doesn’t support marking a task as private.
However, tasks will only show up when runningSo for the code example:if:tasksis set or no other task depends on it.task.group
tasks.register("helloTask") {
println("Hello")
}
I understand this task doesn’t show up in ./gradlew tasks because no group has been assigned to it.
However since the docs say “or no other task depends on it”, since there are no tasks depending on this task then shouldn’t it still show in ./gradlew tasks?Vampire
08/26/2024, 7:50 AM