Gradle Datalyzer is a tool for gathering an overview of a Gradle project.
Datalyzer is only intended to be used by JetBrains research participants.
Linux/Mac
# cd into the project directory to analyze
cd /path/to/gradle-project/
# download and unzip the latest datalyzer release
curl -LO https://github.com/adam-enko/gradle-datalyzer/releases/latest/download/datalyzer.zip
unzip datalyzer.zip
# run datalyzer
./datalyzer/bin/datalyzer
# After datalyzer has finished, please share the zip file in ./datalyzer-reports/
Important
Datalyzer must be run with the same Java version used to run Gradle, otherwise the project's build scripts might not be run correctly.
The easiest way to do this is to run Datalyzer in the same directory as the Gradle project being analyzed.
-
Download the latest
datalyzer.zip
from the GitHub releases page. -
Unzip Datalyzer into the project directory to be analyzed.
-
Run Datalyzer:
Linux/Mac
./datalyzer/bin/datalyzer
Windows
.\datalyzer\bin\datalyzer.bat
-
Wait for the report to finish.
-
Share the zipped report.
Usage: datalyzer [<options>]
Options:
--projectDir=<path> Location of the Gradle Project
--reportsDir=<path> Output reports directory
-h, --help Show this message and exit
Datalyzer uses the Gradle Tooling API to capture
- build scripts
- basic task output
- Gradle events
An example report is available in ./docs/example-report/.