Major refactoring of the gradle build system.

This commit is contained in:
ghidravore
2019-04-23 15:20:26 -04:00
parent 62a180e0ae
commit f1e50fb079
198 changed files with 2005 additions and 2252 deletions
+15 -2
View File
@@ -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 -3
View File
@@ -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|
+1 -1
View File
@@ -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.