mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2024-11-21 19:42:14 +00:00
42 lines
1.6 KiB
Groovy
42 lines
1.6 KiB
Groovy
|
|
defaultTasks ':usage'
|
|
|
|
task usage {
|
|
doLast {
|
|
println """
|
|
|
|
*******************************************************************************************
|
|
|
|
GHIDRA GRADLE
|
|
|
|
Note: Most tasks can can be used to affect all modules or can
|
|
be run against a specific module. For example:
|
|
|
|
from root project, "gradle buildHelp" builds help for all modules.
|
|
from root project, "gradle :Base:buildHelp" builds help for the "Base" module
|
|
from the Base project dir, "gradle buildHelp" builds help for the "Base" module
|
|
|
|
Primary gradle tasks for Ghidra
|
|
|
|
usage Displays this text [usage.gradle]
|
|
prepDev Prepares development environment [prepDev.gradle]
|
|
buildHelp Builds help [buildHelp.gradle]
|
|
buildGhidra Builds installation for local platform. [distribution.gradle]
|
|
compileSleigh Builds the sleigh languages [processorUtils.gradle]
|
|
|
|
Task rules:
|
|
buildNative_[platform] builds the native executables and libraries for the
|
|
specified platform (win64, linux64, osx64, etc.) [nativeBuildProperties.gradle]
|
|
prebuildNative_[platform] builds the native executables and libraries for the
|
|
specified platform and copies results to bin repo. [nativeBuildProperties.gradle]
|
|
|
|
"""
|
|
}
|
|
}
|
|
|
|
|
|
tasks['tasks'].doLast {
|
|
// usage.execute()
|
|
|
|
}
|