Skip to content

World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.

[#1484] improvement(*): Add support for listing task dependencies tree. (#1485)

Qi Yu3f35ed1c9d90
diff --git a/build.gradle.kts b/build.gradle.kts
index 082ecf83a5..c726bdfc29 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -40,8 +40,9 @@ plugins {
alias(libs.plugins.publish)
// Apply one top level rat plugin to perform any required license enforcement analysis
alias(libs.plugins.rat)
- id("com.github.jk1.dependency-license-report") version "2.5"
- id("org.cyclonedx.bom") version "1.5.0" // Newer version fail due to our setup
+ alias(libs.plugins.bom)
+ alias(libs.plugins.dependencyLicenseReport)
+ alias(libs.plugins.tasktree)
}
if (extra["jdkVersion"] !in listOf("8", "11", "17")) {
@@ -489,3 +490,5 @@ tasks {
dependsOn(cleanDistribution)
}
}
+
+apply(plugin = "com.dorongold.task-tree")
diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml
index 87bd41a5da..bba5cf7dd3 100644
--- a/gradle/libs.versions.toml
+++ b/gradle/libs.versions.toml
@@ -151,3 +151,6 @@ publish = { id = "io.github.gradle-nexus.publish-plugin", version.ref = "publish
rat = { id = "org.nosphere.apache.rat", version.ref = "rat-plugin" }
shadow = { id = "com.github.johnrengelman.shadow", version.ref = "shadow-plugin" }
node = { id = "com.github.node-gradle.node", version.ref = "node-plugin" }
+tasktree = {id = "com.dorongold.task-tree", version = "2.1.1"}
+dependencyLicenseReport = {id = "com.github.jk1.dependency-license-report", version = "2.5"}
+bom = {id = "org.cyclonedx.bom", version = "1.5.0"}
\ No newline at end of file