mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-28 02:11:43 +00:00
Don't check for existence in distributing .debug files. (#137)
This check is unnecessary and is run during task creation, so prevents the .debug file from being included the first time gradle is run.
This commit is contained in:
@@ -83,11 +83,8 @@ def ntcoreZipTask = { project ->
|
||||
from(binary.sharedLibraryFile) {
|
||||
into getPlatformPath(binary)
|
||||
}
|
||||
def debugFile = new File(binary.sharedLibraryFile.absolutePath + ".debug")
|
||||
if (debugFile.exists()) {
|
||||
from(debugFile) {
|
||||
into getPlatformPath(binary)
|
||||
}
|
||||
from(new File(binary.sharedLibraryFile.absolutePath + ".debug")) {
|
||||
into getPlatformPath(binary)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -52,11 +52,8 @@ def wpiutilZipTask = { project ->
|
||||
from(binary.sharedLibraryFile) {
|
||||
into getPlatformPath(binary)
|
||||
}
|
||||
def debugFile = new File(binary.sharedLibraryFile.absolutePath + ".debug")
|
||||
if (debugFile.exists()) {
|
||||
from(debugFile) {
|
||||
into getPlatformPath(binary)
|
||||
}
|
||||
from(new File(binary.sharedLibraryFile.absolutePath + ".debug")) {
|
||||
into getPlatformPath(binary)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user