mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-03 01:39:21 +02:00
Candidate release of source code.
This commit is contained in:
parent
db81e6b3b0
commit
79d8f164f8
12449 changed files with 2800756 additions and 16 deletions
54
GPL/DMG/build.gradle
Normal file
54
GPL/DMG/build.gradle
Normal file
|
@ -0,0 +1,54 @@
|
|||
apply plugin: 'eclipse'
|
||||
eclipse.project.name = 'GPL DMG'
|
||||
|
||||
/*********************************************************************************
|
||||
*
|
||||
* Define a new source set for dmg source because it is not part of Ghidra, it is
|
||||
* a standalone application that is executed and called from Ghidra.
|
||||
*
|
||||
* see DmgServerProcessManager
|
||||
*
|
||||
*********************************************************************************/
|
||||
sourceSets {
|
||||
dmg {
|
||||
java {
|
||||
srcDir 'src/dmg/java'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
eclipse.classpath.plusConfigurations += [configurations.dmgCompile]
|
||||
|
||||
dependencies {
|
||||
dmgCompile ':csframework@jar'
|
||||
dmgCompile ':hfsx@jar'
|
||||
dmgCompile ':hfsx_dmglib@jar'
|
||||
}
|
||||
|
||||
|
||||
/***************************************************************************************
|
||||
*
|
||||
* Task to create the dmg.jar file
|
||||
*
|
||||
***************************************************************************************/
|
||||
task dmgJar(type: Jar) {
|
||||
from sourceSets.dmg.output
|
||||
destinationDir = file("build/data/lib")
|
||||
baseName = 'dmg'
|
||||
}
|
||||
|
||||
jar {
|
||||
doLast {
|
||||
File f = file("build/libs/DMG.jar")
|
||||
delete "build/libs"
|
||||
}
|
||||
}
|
||||
|
||||
/***************************************************************************************
|
||||
*
|
||||
* plugin the jar task into global task for building and zipping contribs
|
||||
*
|
||||
***************************************************************************************/
|
||||
assemble.dependsOn dmgJar
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue