]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-13155 add Gradle command to list all dependency trees
authorSimon Brandhof <simon.brandhof@sonarsource.com>
Wed, 18 Mar 2020 08:11:15 +0000 (09:11 +0100)
committersonartech <sonartech@sonarsource.com>
Sat, 21 Mar 2020 20:04:03 +0000 (20:04 +0000)
`./gradlew allDependencies` lists the trees of dependencies of
all subprojects. This is convenient when investigating the
impacts of a dependency upgrade.

build.gradle

index 36b17857d11b10703cc93c973889bb6cfa71732d..0bef8cc596a173850557ffe086d7694dcee18a62 100644 (file)
@@ -73,6 +73,10 @@ allprojects {
       }
     }
   }
+
+  task allDependencies {
+    dependsOn 'dependencies'
+  }
 }
 
 apply plugin: 'org.sonarqube'