mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-03 09:49:23 +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
|
@ -47,17 +47,24 @@ task buildPyPackage {
|
|||
inputs.files(assemblePyPackage)
|
||||
outputs.dir(dist)
|
||||
|
||||
def debuggerRmiTraceProject = project(":Debugger-rmi-trace")
|
||||
|
||||
doLast {
|
||||
if (rootProject.PYTHON3 == null) {
|
||||
throw new GradleException("A supported version of Python [${PYTHON_SUPPORTED}] was not found!")
|
||||
}
|
||||
|
||||
File setuptools = project(":Debugger-rmi-trace").findPyDep(".")
|
||||
exec {
|
||||
File setuptools = debuggerRmiTraceProject.findPyDep(".")
|
||||
|
||||
def exec = providers.exec {
|
||||
workingDir { file("build/pypkg") }
|
||||
ignoreExitValue = true
|
||||
commandLine rootProject.PYTHON3
|
||||
args "-m", "pip", "wheel", "-w", "dist/", "--no-index", "--no-deps", "-f", setuptools, "."
|
||||
}
|
||||
if (exec.result.get().exitValue != 0) {
|
||||
throw new GradleException(exec.standardError.asText.get().strip())
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue