mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-03 17:59:46 +02:00
GP-1648 fixed alternating bad builds after runing "buildGhidra" gradle
command
This commit is contained in:
parent
ba2eb53110
commit
64394a46f4
1 changed files with 9 additions and 0 deletions
|
@ -235,6 +235,10 @@ task zipJavadocs(type: Zip) {
|
||||||
*
|
*
|
||||||
**********************************************************************************************/
|
**********************************************************************************************/
|
||||||
task assembleDistribution (type: Copy) {
|
task assembleDistribution (type: Copy) {
|
||||||
|
// force this task to always be "out of date"
|
||||||
|
// Not sure why this is necessary, but without it, gradle thinks this task is "up to date"
|
||||||
|
// every other time it is run even though in both cases the output directory has been removed
|
||||||
|
outputs.upToDateWhen {false}
|
||||||
|
|
||||||
group 'private'
|
group 'private'
|
||||||
description "Copies core files/folders to the distribution location."
|
description "Copies core files/folders to the distribution location."
|
||||||
|
@ -369,6 +373,11 @@ task assembleDistribution (type: Copy) {
|
||||||
*********************************************************************************/
|
*********************************************************************************/
|
||||||
project.PLATFORMS.each { platform ->
|
project.PLATFORMS.each { platform ->
|
||||||
task ("assembleDistribution_${platform.name}", type: Copy ) {
|
task ("assembleDistribution_${platform.name}", type: Copy ) {
|
||||||
|
// force this task to always be "out of date"
|
||||||
|
// Not sure why this is necessary, but without it, gradle thinks this task is "up to date"
|
||||||
|
// every other time it is run even though in both cases the output directory has been removed
|
||||||
|
outputs.upToDateWhen {false}
|
||||||
|
|
||||||
|
|
||||||
// delete the gradle ziptree temp directory because of gradle bug not cleaning up its temp files.
|
// delete the gradle ziptree temp directory because of gradle bug not cleaning up its temp files.
|
||||||
delete rootProject.file("build/tmp/expandedArchives")
|
delete rootProject.file("build/tmp/expandedArchives")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue