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/" + } +}