mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-27 13:02:57 +08:00
Major refactoring of the gradle build system.
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
apply from: "$rootProject.projectDir/gradle/javaProject.gradle"
|
||||
apply plugin: 'eclipse'
|
||||
|
||||
|
||||
eclipse.project.name = '_Skeleton'
|
||||
|
||||
dependencies {
|
||||
@@ -9,5 +12,15 @@ dependencies {
|
||||
compileJava.enabled = false
|
||||
jar.enabled = false
|
||||
|
||||
// NOTE: In a build, this file will get replaced by buildTemplate.gradle. This file mainly exists
|
||||
// so we can get an Eclipse project for the Skeleton.
|
||||
// NOTE: In a build, this file will get replaced by buildTemplate.gradle.
|
||||
rootProject.assembleDistribution {
|
||||
from (this.projectDir) {
|
||||
exclude 'bin'
|
||||
exclude 'build'
|
||||
exclude 'ghidra_scripts/bin/'
|
||||
exclude '.classpath'
|
||||
exclude '.project'
|
||||
rename "buildTemplate.gradle", "build.gradle"
|
||||
into "Extensions/Ghidra/Skeleton"
|
||||
}
|
||||
}
|
||||
@@ -1,11 +1,9 @@
|
||||
##VERSION: 2.0
|
||||
.classpath||GHIDRA||||END|
|
||||
.project||GHIDRA||||END|
|
||||
Module.manifest||GHIDRA||reviewed||END|
|
||||
build.gradle||GHIDRA||||END|
|
||||
buildTemplate.gradle||GHIDRA||||END|
|
||||
data/README.txt||GHIDRA||||END|
|
||||
data/build.xml||GHIDRA||||END|
|
||||
data/buildLanguage.xml||GHIDRA||||END|
|
||||
data/languages/skel.cspec||GHIDRA||||END|
|
||||
data/languages/skel.ldefs||GHIDRA||||END|
|
||||
data/languages/skel.opinion||GHIDRA||||END|
|
||||
|
||||
@@ -5,7 +5,7 @@ files are placed here rather than in the resources directory if the user may nee
|
||||
An optional data/languages directory can exist for the purpose of containing various Sleigh language
|
||||
specification files and importer opinion files.
|
||||
|
||||
The data/build.xml is used for building the contents of the data/languages directory.
|
||||
The data/buildLanguage.xml is used for building the contents of the data/languages directory.
|
||||
|
||||
The skel language definition has been commented-out within the skel.ldefs file so that the
|
||||
skeleton language does not show-up within Ghidra.
|
||||
|
||||
Reference in New Issue
Block a user