mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2024-11-10 06:02:09 +00:00
GT-2897: Moving script to support dir.
This commit is contained in:
parent
037b5df87b
commit
6850c4188a
@ -86,7 +86,7 @@ or manually by downloading the required dependencies. Choose one of the two fol
|
||||
The 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 execute
|
||||
the `fetchDependencies.gradle` script. If it ran correctly you will have a new `~/git/ghidra/flatRepo/`
|
||||
|
@ -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|
|
||||
|
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user