Ghidra is a software reverse engineering (SRE) framework
GT-2897: Moving script to support dir.
Ryan Kurtz6850c4188a7f
diff --git a/DevGuide.md b/DevGuide.mdindex 6862122917..9eccaad7f3 100644--- a/DevGuide.md+++ b/DevGuide.md@@ -86,7 +86,7 @@ or manually by downloading the required dependencies. Choose one of the two folThe flat directory-style repository can be setup automatically by running a simple Gradle script.Navigate to `~/git/ghidra` and run the following:```-gradle --init-script gradle/fetchDependencies.gradle init+gradle --init-script gradle/support/fetchDependencies.gradle init```The Gradle task to be executed, in this case _init_, is unimportant. The point is to have Gradle executethe `fetchDependencies.gradle` script. If it ran correctly you will have a new `~/git/ghidra/flatRepo/`diff --git a/gradle/certification.manifest b/gradle/certification.manifestindex f73c58ae81..4b3363d317 100644--- a/gradle/certification.manifest+++ b/gradle/certification.manifest@@ -4,7 +4,6 @@ distributableGPLModule.gradle||GHIDRA||||END|distributableGhidraExtension.gradle||GHIDRA||||END|distributableGhidraModule.gradle||GHIDRA||||END|externalGhidraExtension.gradle||GHIDRA||||END|-fetchDependencies.gradle||GHIDRA||||END|helpProject.gradle||GHIDRA||||END|jacocoProject.gradle||GHIDRA||||END|javaProject.gradle||GHIDRA||||END|@@ -21,6 +20,7 @@ root/usage.gradle||GHIDRA||||END|support/distributionCommon.gradle||GHIDRA||||END|support/eclipseLauncher.gradle||GHIDRA||||END|support/extensionCommon.gradle||GHIDRA||||END|+support/fetchDependencies.gradle||GHIDRA||||END|support/ip.gradle||GHIDRA||||END|support/jacoco.excludes.src.txt||GHIDRA||||END|support/loadApplicationProperties.gradle||GHIDRA||||END|diff --git a/gradle/fetchDependencies.gradle b/gradle/support/fetchDependencies.gradlesimilarity index 99%rename from gradle/fetchDependencies.gradlerename to gradle/support/fetchDependencies.gradleindex 63c7eb694a..e6b9211a75 100644--- a/gradle/fetchDependencies.gradle+++ b/gradle/support/fetchDependencies.gradle@@ -26,7 +26,7 @@* usage: from the command line in the main ghidra repository ** directory, run the following: ** *- * gradle --init-script gradle/fetchDependencies.gradle init *+ * gradle --init-script gradle/support/fetchDependencies.gradle init ** ** Note: When running the script, files will only be downloaded if ** necessary (eg: they are not already in the build/downloads/ *@@ -41,7 +41,7 @@ import org.apache.commons.io.*;import org.apache.commons.io.filefilter.*;ext.HOME_DIR = System.getProperty('user.home')-ext.REPO_DIR = ((Script)this).buildscript.getSourceFile().getParentFile().getParentFile()+ext.REPO_DIR = ((Script)this).buildscript.getSourceFile().getParentFile().getParentFile().getParentFile()ext.FLAT_REPO_DIR = new File(REPO_DIR, "flatRepo")ext.DOWNLOADS_DIR = new File(REPO_DIR, "build/downloads")