gradle: put the 'dependsOn' directly in the tasks

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
gradle: put the 'onlyIf' directly in the tasks

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
gradle: convert the 'onlyIf' into an 'enabled'

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
gradle: guard task compilation with 'enabled'

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
gradle: simplify getting the release task inputs

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
gradle: rename a method

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
gradle: move error check out of try/catch blocks

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
gradle: add a task rule for export

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
gradle: simplify bndproperties task

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
gradle: move 2 methods

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
gradle: make the moved methods private

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
gradle: simplify parseBoolean method

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
gradle: move application of bnd project customisations to the end

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
gradle: improve the checkErrors method

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
gradle: rename bnd_x settings to bndX settings

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
gradle: rename gradleBuild_x settings to gradleBuildX settings

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
gradle: slightly improve setting up project dependencies

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
gradle: slightly improve dependsOn declarations

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
gradle: slightly improve bndproperties task

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
gradle: rename the getBndProjectProperty method to bnd

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>