Uses the connector plugin version 0.1.5.
Added
- CLI version flag (
-v
and--version
)
Deprecated
- CLI flag
--chart-mermaid
use--mermaid-graph
instead. The flag will be removed with version 1.0.0.
See CHANGELOG for full history.
Version:
./bin/dga --version
dga version 0.1.2
dga connector plugin version 0.1.5
Help:
./bin/dga --help
Usage: dga [<options>] <gradleproject>
Analyse the module dependency graph of a Gradle project.
Filter Options:
Filter control what to analyse. If several filters are set, dependencies must fulfill all
of them. Without any set filter the whole Gradle project will be processed.
Use an '*' asterisk to specify multiple modules or configurations without writing each of
them.
E.g.:
• "importer-*" resolves to all modules starting with 'importer-'.
• "*-exporter" resolves to all modules ending with '-exporter'.
• "file-*-exporter" resolves to all modules starting with 'file-' and ending with
'-exporter'.
-m=<module,...> Module names either in origin or destination. Specify multiple
comma-separated module names.
-o=<module,...> Module names in origin. Specify multiple comma-separated module
names.
-d=<module,...> Module names in destination. Specify multiple comma-separated
module names.
-c=<configuration,...> Configurations used in dependencies. Specify multiple
comma-separated configuration names.
-t, --transitive If set, also include transitive module dependencies. This applies
only if a module filter is active.
Display Options:
Options controlling how to output the analysed data. Display options can not be combined.
--modules Shows all modules of the project applying to the specified filters.
--configurations Displays all configurations applying to the specified filters and sorted
by frequency of occurrence.
--mermaid-graph Generate the Mermaid graph chart source for the dependencies fulfilling
the filter criteria.
--chart-mermaid Generate the Mermaid graph chart source for the dependencies fulfilling
the filter criteria. (deprecated)
Options:
-v, --version Show the version and exit
-h, --help Show this message and exit
Arguments:
<gradleproject> Path of the Gradle project directory