mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-28 17:11:11 -09:00
Corrected GPL build issues
This commit is contained in:
@@ -1,3 +1,12 @@
|
||||
|
||||
if (findProject(':Generic') != null) {
|
||||
apply from: "$rootProject.projectDir/gradle/nativeProject.gradle"
|
||||
apply from: "$rootProject.projectDir/gradle/distributableGPLModule.gradle"
|
||||
}
|
||||
else {
|
||||
apply from: "../nativeBuildProperties.gradle"
|
||||
}
|
||||
|
||||
apply plugin: 'eclipse'
|
||||
|
||||
eclipse.project.name = 'GPL CabExtract'
|
||||
|
||||
@@ -1,4 +1,20 @@
|
||||
apply plugin: 'java'
|
||||
if (findProject(':Generic') != null) {
|
||||
apply from: "$rootProject.projectDir/gradle/javaProject.gradle"
|
||||
apply from: "$rootProject.projectDir/gradle/distributableGPLModule.gradle"
|
||||
|
||||
rootProject.assembleDistribution {
|
||||
|
||||
doLast {
|
||||
// eliminate standard module lib directory
|
||||
def assemblePath = destinationDir.path + "/" + getZipPath(this.project)
|
||||
println "DELETE: ${assemblePath}/lib"
|
||||
delete assemblePath + "/lib"
|
||||
}
|
||||
}
|
||||
}
|
||||
else {
|
||||
apply plugin: 'java'
|
||||
}
|
||||
apply plugin: 'eclipse'
|
||||
|
||||
eclipse.project.name = 'GPL DMG'
|
||||
@@ -33,15 +49,15 @@ dependencies {
|
||||
* Task to create the dmg.jar file
|
||||
*
|
||||
***************************************************************************************/
|
||||
task dmgJar(type: Jar) {
|
||||
from sourceSets.dmg.output
|
||||
destinationDir = file("build/data/lib")
|
||||
baseName = 'dmg'
|
||||
}
|
||||
//task dmgJar(type: Jar) {
|
||||
// from sourceSets.dmg.output
|
||||
// destinationDir = file("build/data/lib")
|
||||
// baseName = 'dmg'
|
||||
//}
|
||||
|
||||
jar {
|
||||
destinationDir = file("build/data/lib")
|
||||
doLast {
|
||||
File f = file("build/libs/DMG.jar")
|
||||
delete "build/libs"
|
||||
}
|
||||
}
|
||||
@@ -51,6 +67,6 @@ jar {
|
||||
* plugin the jar task into global task for building and zipping contribs
|
||||
*
|
||||
***************************************************************************************/
|
||||
assemble.dependsOn dmgJar
|
||||
//assemble.dependsOn dmgJar
|
||||
|
||||
|
||||
|
||||
@@ -1,10 +1,16 @@
|
||||
|
||||
if (findProject(':Generic') != null) {
|
||||
apply from: "$rootProject.projectDir/gradle/nativeProject.gradle"
|
||||
apply from: "$rootProject.projectDir/gradle/distributableGPLModule.gradle"
|
||||
}
|
||||
else {
|
||||
apply from: "../nativeBuildProperties.gradle"
|
||||
}
|
||||
|
||||
apply plugin: 'eclipse'
|
||||
|
||||
eclipse.project.name = 'GPL DemanglerGnu'
|
||||
|
||||
apply from: "../nativeBuildProperties.gradle"
|
||||
|
||||
|
||||
/****************************************************************************
|
||||
* Defines the platforms we have to support in Ghidra. This model is used
|
||||
* for all native builds and should be extended by each module as-needed.
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
project.ext.BIN_REPO = file("${projectDir}/../../ghidra.bin").absolutePath
|
||||
|
||||
project.ext.set("OS_NAMES", ["osx64", "win32", "win64", "linux64"])
|
||||
|
||||
/*********************************************************************************
|
||||
|
||||
Reference in New Issue
Block a user