Open DeegC opened 6 years ago
This happens because the description content of a control file should be indented with spaces if it is multilined.
As a side note, no empty lines are allowed in description therefore this will do it for you:
description = """\
Gradle build for UTC
Project name: ${project.name}"""
I created PR #269 which addresses your issue. This will not support empty lines though, as the message generated from jDeb is quite meaningful.
It appears that a long (multiline?) description triggers an exception. No big deal except that the error message doesn't give any indication on what the error is. If I remove the description from build.gradle it works great. This might be a problem in JDeb and there's nothing you can do.
Details:
Ubuntu 17.10 Gradle: 3.5.1 Java 8
build.gradle file in its entirety (note: it's a subproject):
Bottom part of the stack trace: