Don't check for existence in distributing .debug files.

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:
Peter Johnson
2016-10-23 10:42:51 -07:00
parent 9142cbb820
commit 9b6f4ecd0d

View File

@@ -145,11 +145,8 @@ def cameraserverZipTask = { 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)
}
}
}