gradle: add *.location build dependencies as relative paths

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
gradle: avoid duplicate build dependencies

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
gradle: also add the bnd plugins to the build dependencies

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
gradle: do not explicitly declare the type of variables, not needed

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
gradle: move bnd workspace setup into its own file

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
gradle: put indexing dependencies in cnf/gradle-dependencies

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
gradle: rename 'dist' task to 'index'

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
gradle: add release repo indexing tasks to the root project

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
gradle: the main template now applies the root project build customisations

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
gradle: replace fileListToCliPath by more efficient asPath

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

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
gradle: report the number of errors in printBndProjectWarningsAndErrors

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
gradle: simplify use of simple accessors

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
gradle: use the constant for 'buildfiles'

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

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
gradle: simplify use of bnd_bundlesToIndex in indexing tasks

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
gradle: do not index when there are no bundles to index

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

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
gradle: add some comments

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
gradle: add some missing asserts

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