mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-28 17:11:11 -09:00
Major refactoring of the gradle build system.
This commit is contained in:
@@ -181,7 +181,7 @@ task indexHelp(type: JavaExec) {
|
||||
}
|
||||
|
||||
group "private"
|
||||
description "indexes the helps files for this module. [gradleScripts/buildHelp.gradle]"
|
||||
description "indexes the helps files for this module. [gradle/helpProject.gradle]"
|
||||
}
|
||||
|
||||
// task for building Ghidra help files - depends on the output from the help indexer
|
||||
@@ -209,7 +209,7 @@ task buildHelp(type: JavaExec, dependsOn: indexHelp) {
|
||||
}
|
||||
args "${helpRootDir.absolutePath}" // tell the help builder what help dir to process
|
||||
}
|
||||
description " Builds the help for this module. [gradleScripts/buildHelp.gradle]\n"
|
||||
description " Builds the help for this module. [gradle/helpProject.gradle]\n"
|
||||
}
|
||||
|
||||
// include the help into the module's jar
|
||||
|
||||
@@ -1,4 +1,41 @@
|
||||
apply plugin: 'eclipse'
|
||||
|
||||
eclipse.project.name = '_Runtime Scripts'
|
||||
|
||||
ext.isPureEclipseProject = true
|
||||
rootProject.assembleDistribution {
|
||||
|
||||
from (this.project.file("Common/support")) {
|
||||
into "support"
|
||||
}
|
||||
|
||||
from (this.project.file("Common/server")) {
|
||||
into "server"
|
||||
}
|
||||
}
|
||||
|
||||
rootProject.OS_NAMES.each { platform ->
|
||||
rootProject.tasks.findAll {it.name == "assembleDistribution_$platform"}.each { t ->
|
||||
def p = this.project
|
||||
|
||||
if (isLinux(platform) || isMac(platform)) {
|
||||
t.from ("${p.projectDir}/Linux/support") {
|
||||
into "support"
|
||||
}
|
||||
t.from ("${p.projectDir}/Linux/server") {
|
||||
into "server"
|
||||
}
|
||||
t.from (p.file("Linux/ghidraRun"))
|
||||
}
|
||||
|
||||
if (isWindows(platform)) {
|
||||
t.from ("${p.projectDir}/Windows/support") {
|
||||
into "support"
|
||||
}
|
||||
t.from ("${p.projectDir}/Windows/server") {
|
||||
into "server"
|
||||
}
|
||||
t.from (p.file("Windows/ghidraRun.bat"))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
##VERSION: 2.0
|
||||
##MODULE IP: Copyright Distribution Permitted
|
||||
.classpath||GHIDRA||||END|
|
||||
.project||GHIDRA||||END|
|
||||
Common/server/server.conf||GHIDRA||||END|
|
||||
Common/server/svrREADME.html||GHIDRA||||END|
|
||||
Common/support/analyzeHeadlessREADME.html||GHIDRA||||END|
|
||||
|
||||
Reference in New Issue
Block a user