Skip to content

Commit

Permalink
build: show only 'build' task group when running './gradlew'
Browse files Browse the repository at this point in the history
Signed-off-by: Jendrik Johannes <[email protected]>
  • Loading branch information
jjohannes committed Dec 13, 2024
1 parent 04a471a commit eb03780
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/main/kotlin/org.hiero.gradle.base.lifecycle.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
// SPDX-License-Identifier: Apache-2.0
plugins { id("base") }

// Convenience for local development: when running './gradlew' without any parameters show the tasks
// Convenience for local development: when running './gradlew' without parameters show the tasks...
defaultTasks("tasks")

if (gradle.startParameter.taskNames.isEmpty()) {
// ...of group 'build' only
tasks.withType<TaskReportTask>().configureEach { displayGroup = "build" }
}

tasks.register("qualityCheck") {
group = "verification"
description = "Run all spotless and quality checks."
Expand Down

0 comments on commit eb03780

Please sign in to comment.