Skip to content

Commit d44a31d

Browse files
author
astrelsky
committed
build.gradle changes
1 parent 32ae04b commit d44a31d

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

build.gradle

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,23 @@ else {
3434
}
3535
//----------------------END "DO NOT MODIFY" SECTION-------------------------------
3636
def docs = file(ghidraInstallDir+'/docs/GhidraAPI_javadoc.zip')
37+
def ghidraUserDir = System.getProperty("user.home") + "/.ghidra/.${DISTRO_PREFIX}_${RELEASE_NAME}"
3738

3839
repositories { mavenCentral() }
3940

4041
dependencies {
4142
testCompile "org.hamcrest:hamcrest-all:1.3"
4243
testCompile "org.jmockit:jmockit:1.44"
4344
testCompile "junit:junit:4.12"
44-
runtimeOnly fileTree(dir: ghidraInstallDir + '/Ghidra',
45-
include: "**/*.jar", exclude: project.name + '**')
45+
runtimeOnly fileTree(dir: ghidraInstallDir + '/Ghidra/patch', include: "**/*.jar")
46+
runtimeOnly fileTree(dir: ghidraInstallDir + '/Ghidra/Configurations', include: "**/*.jar")
47+
runtimeOnly fileTree(dir: ghidraInstallDir + '/Ghidra/Features', include: "**/*.jar")
48+
runtimeOnly fileTree(dir: ghidraInstallDir + '/Ghidra/Framework', include: "**/*.jar")
49+
runtimeOnly fileTree(dir: ghidraInstallDir + '/Ghidra/Processors', include: "**/*.jar")
50+
runtimeOnly fileTree(dir: ghidraInstallDir + '/Ghidra/Extensions',
51+
include: "**/*.jar", exclude: project.name)
52+
runtimeOnly fileTree(dir: ghidraUserDir + "/Extensions",
53+
include: "**/*.jar", exclude: project.name)
4654
}
4755

4856
eclipse {

0 commit comments

Comments
 (0)