From 820eafbd65dac7a73c42cfa203e2fafc35bbd4e1 Mon Sep 17 00:00:00 2001 From: Ryan Kurtz Date: Mon, 15 Jul 2019 14:34:54 -0400 Subject: [PATCH] Including GhidraSleighEditor in build. --- .../SleighEditor/ghidra.xtext.sleigh/build.gradle | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/GhidraBuild/EclipsePlugins/SleighEditor/ghidra.xtext.sleigh/build.gradle b/GhidraBuild/EclipsePlugins/SleighEditor/ghidra.xtext.sleigh/build.gradle index 57685dd192..6b9e3f09ee 100644 --- a/GhidraBuild/EclipsePlugins/SleighEditor/ghidra.xtext.sleigh/build.gradle +++ b/GhidraBuild/EclipsePlugins/SleighEditor/ghidra.xtext.sleigh/build.gradle @@ -38,3 +38,15 @@ if (hasProperty("eclipseDSL")) { } } } + +// We do not currently build the SleighEditor plugin at Ghidra build time so we must +// copy the prebuilt zip file from the BIN_REPO +rootProject.assembleDistribution { + from ("${BIN_REPO}/GhidraBuild/EclipsePlugins/GhidraSleighEditor") { + include 'GhidraSleighEditor*.zip' + into "Extensions/Eclipse/GhidraSleighEditor/" + } + from ("${this.projectDir}/GhidraSleighEditor_README.html") { + into "Extensions/Eclipse/GhidraSleighEditor/" + } +}