GP-0: Fixing Gradle deprecations

This commit is contained in:
Ryan Kurtz
2026-09-22 12:58:30 -04:00
parent a57fe46ada
commit 764adb9c0f
30 changed files with 109 additions and 103 deletions

View File

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

View File

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