mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-03 01:39:21 +02:00
GP-5257: Fixing Gradle warnings
This commit is contained in:
parent
eaa2a5c6b3
commit
44fb13b292
36 changed files with 234 additions and 346 deletions
|
@ -59,20 +59,24 @@ compileJava.enabled = false
|
|||
jar.enabled = false
|
||||
|
||||
task utilityJar(type:Copy) {
|
||||
destinationDir file("build/data")
|
||||
destinationDir = file("build/data")
|
||||
|
||||
from { project(':Utility').jar } // using closure to delay until all projects evaluated
|
||||
def utilityProject = project(':Utility')
|
||||
|
||||
from { utilityProject.jar } // using closure to delay until all projects evaluated
|
||||
}
|
||||
|
||||
task launchSupportJar(type:Copy) {
|
||||
destinationDir file("build/data")
|
||||
destinationDir = file("build/data")
|
||||
|
||||
from { project(':LaunchSupport').jar } // using closure to delay until all projects evaluated
|
||||
def launchSupportProject = project(':LaunchSupport')
|
||||
|
||||
from { launchSupportProject.jar } // using closure to delay until all projects evaluated
|
||||
}
|
||||
|
||||
task pyDevUnpack(type:Copy) {
|
||||
description "Unpack PyDev plugin archive for development use"
|
||||
group "Development Preparation"
|
||||
description = "Unpack PyDev plugin archive for development use"
|
||||
group = "Development Preparation"
|
||||
|
||||
File pyDevDestDir = file("build/data/buildDependencies/pydev")
|
||||
|
||||
|
@ -90,12 +94,12 @@ task pyDevUnpack(type:Copy) {
|
|||
from pyDevZipTree
|
||||
exclude "**/.project", "**/.pydevproject"
|
||||
|
||||
destinationDir pyDevDestDir
|
||||
destinationDir = pyDevDestDir
|
||||
}
|
||||
|
||||
task cdtUnpack(type:Copy) {
|
||||
description "Unpack CDT plugin archive for development use"
|
||||
group "Development Preparation"
|
||||
description = "Unpack CDT plugin archive for development use"
|
||||
group = "Development Preparation"
|
||||
|
||||
File cdtDestDir = file("build/data/buildDependencies/cdt")
|
||||
|
||||
|
@ -112,7 +116,7 @@ task cdtUnpack(type:Copy) {
|
|||
|
||||
from cdtZipTree
|
||||
|
||||
destinationDir cdtDestDir
|
||||
destinationDir = cdtDestDir
|
||||
}
|
||||
|
||||
task prepGhidraDev {
|
||||
|
|
|
@ -43,7 +43,7 @@ else {
|
|||
}
|
||||
|
||||
task distributeExtension {
|
||||
group "Ghidra"
|
||||
group = "Ghidra"
|
||||
|
||||
apply from: new File(ghidraInstallDir).getCanonicalPath() + "/support/buildExtension.gradle"
|
||||
dependsOn ':buildExtension'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue