Skip to content

Ghidra is a software reverse engineering (SRE) framework

2.0 KB
Raw Blame
/* ###
 * IP: GHIDRA
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
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:buildModuleHelp" builds help for the "Base" module
	from the Base project dir, "gradle buildModuleHelp" builds help for the "Base" module

Primary gradle tasks for Ghidra

    usage                           Displays this text                                      [root/usage.gradle]
    prepDev                         Prepares development environment                        [root/prepDev.gradle]
    eclipse                         Create eclipse projects                                 [root/eclipse.gradle]
    buildHelp                       Builds help                                             [root/buildHelp.gradle] 
    buildGhidra                     Builds Ghidra for the current platform                  [root/distribution.gradle]

Task rules:
    buildNatives[_platform]         Builds the native executables and libraries for the     [GPL/nativeBuildProperties.gradle]  
                                      current or specified platform (win_x86_64,
                                      linux_arm_64, mac_x86_64, etc.)

"""
	}
}


tasks['tasks'].doLast {
//	usage.execute()

}