This commit is contained in:
Ryan Kurtz 2024-07-03 11:54:34 -04:00
parent 8e09231eda
commit cc9fb24116
2 changed files with 9 additions and 14 deletions

View File

@ -39,6 +39,10 @@ rootProject.PLATFORMS.each { platform ->
t.from ("${p.projectDir}/Linux/server") {
into "server"
}
t.from ("${rootProject.projectDir}") {
include "gradlew"
into "support/gradle"
}
t.from (p.file("Linux/ghidraRun"))
}
@ -49,6 +53,10 @@ rootProject.PLATFORMS.each { platform ->
t.from ("${p.projectDir}/Windows/server") {
into "server"
}
t.from ("${rootProject.projectDir}") {
include "gradlew.bat"
into "support/gradle"
}
t.from (p.file("Windows/ghidraRun.bat"))
}
}

View File

@ -392,19 +392,6 @@ project.PLATFORMS.each { platform ->
// Make sure that we don't try to copy the same file with the same path into the
// zip (this can happen!)
duplicatesStrategy 'exclude'
/////////////////////////////////
// Gradle Wrapper
/////////////////////////////////
from (ROOT_PROJECT_DIR) {
if (isLinux(platform.name) || isMac(platform.name)) {
include "gradlew"
}
if (isWindows(platform.name)) {
include "gradlew.bat"
}
into "support/gradle"
}
}
}