mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-28 17:11:11 -09:00
GP-0: Fixing Gradle deprecations
This commit is contained in:
@@ -85,8 +85,8 @@ task pyDevUnpack(type:Copy) {
|
||||
!pyDevDestDir.exists()
|
||||
}
|
||||
|
||||
File depsFile = file("${DEPS_DIR}/GhidraDev/PyDev 9.3.0.zip")
|
||||
File binRepoFile = file("${BIN_REPO}/GhidraBuild/EclipsePlugins/GhidraDev/buildDependencies/PyDev 9.3.0.zip")
|
||||
File depsFile = file("${rootProject.DEPS_DIR}/GhidraDev/PyDev 9.3.0.zip")
|
||||
File binRepoFile = file("${rootProject.BIN_REPO}/GhidraBuild/EclipsePlugins/GhidraDev/buildDependencies/PyDev 9.3.0.zip")
|
||||
|
||||
// First check if the file is in the dependencies repo. If not, check in the bin repo.
|
||||
def pyDevZipTree = depsFile.exists() ? zipTree(depsFile) : zipTree(binRepoFile)
|
||||
@@ -108,8 +108,8 @@ task cdtUnpack(type:Copy) {
|
||||
!cdtDestDir.exists()
|
||||
}
|
||||
|
||||
File depsFile = file("${DEPS_DIR}/GhidraDev/cdt-8.6.0.zip")
|
||||
File binRepoFile = file("${BIN_REPO}/GhidraBuild/EclipsePlugins/GhidraDev/buildDependencies/cdt-8.6.0.zip")
|
||||
File depsFile = file("${rootProject.DEPS_DIR}/GhidraDev/cdt-8.6.0.zip")
|
||||
File binRepoFile = file("${rootProject.BIN_REPO}/GhidraBuild/EclipsePlugins/GhidraDev/buildDependencies/cdt-8.6.0.zip")
|
||||
|
||||
// First check if the file is in the dependencies repo. If not, check in the bin repo.
|
||||
def cdtZipTree = depsFile.exists() ? zipTree(depsFile) : zipTree(binRepoFile)
|
||||
@@ -129,7 +129,7 @@ task prepGhidraDev {
|
||||
// We do not currently build GhidraDev plugin at Ghidra build time so we must
|
||||
// copy the prebuilt zip file from the BIN_REPO
|
||||
rootProject.assembleDistribution {
|
||||
from ("${BIN_REPO}/GhidraBuild/EclipsePlugins/GhidraDev") {
|
||||
from ("${rootProject.BIN_REPO}/GhidraBuild/EclipsePlugins/GhidraDev") {
|
||||
include 'GhidraDev*.zip'
|
||||
into "Extensions/Eclipse/GhidraDev/"
|
||||
}
|
||||
|
||||
@@ -68,7 +68,7 @@ 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") {
|
||||
from ("${rootProject.BIN_REPO}/GhidraBuild/EclipsePlugins/GhidraSleighEditor") {
|
||||
include 'GhidraSleighEditor*.zip'
|
||||
into "Extensions/Eclipse/GhidraSleighEditor/"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user