gradle plugin: Add ignoreFailures flag to check task

This allows the user to configure a project with:

    check.ignoreFailures = true

to not fail the build if the check task fails.

See https://github.com/bndtools/bnd/issues/719

Signed-off-by: BJ Hargrave <bj@bjhargrave.com>
Merge pull request #721 from bjhargrave/issue719

gradle plugin: Add ignoreFailures flag to check task
ResolverInfo API

Signed-off-by: Neil Bartlett <njbartlett@gmail.com>
Merge pull request #725 from njbartlett/nb/resolverinfo

ResolverInfo API
Alias for version (versionmask) because lots of people use version and then shadow the macro

Signed-off-by: Peter Kriens <peter.kriens@aqute.biz>
Issue #728 - Permit cardinality:=multiple on Require-Capability, as per the OSGi spec

Signed-off-by: Tim Ward timothyjward@apache.org
[launch] Added -runkeep (was implied but did not work)

And added test case

Signed-off-by: Peter Kriens <peter.kriens@aqute.biz>
gradle: test task use the output folder set by the test-reports bnd prop

The default is different than the gradle java plugin default, but using
this property provides a consistent output location for the test and
check tasks and allows the user to configure via the bnd project property
test-reports.

Fixes https://github.com/bndtools/bnd/issues/730

Signed-off-by: BJ Hargrave <bj@bjhargrave.com>
Extensive check for imports that point to a black hole (i.e. not exported). Also checks for exporting empty packages.

Also improved tracking the source of the package and added a -check field with options to check.
Merge pull request #732 from pkriens/master

Better check for private package imports, runkeep, versionmask
Merge pull request #731 from bjhargrave/issue730

gradle: test task use the output folder set by the test-reports bnd prop
Adding a few additional blacklisting tests

Signed-off-by: Carter Smithhart <carter.smithhart@gmail.com>
LocalIndexedRepo will now recurse into directories to find .jar files.

This is used for the standard cnf/localrepo and could be used for a
local .m2 maven repository. It no longer uses the FileRepo class.

Signed-off-by: Carter Smithhart <carter.smithhart@gmail.com>
env and isdir macro updates/fixes

env macro should return "" when environment not found. Before this fix, it would return ${env;BLAR}, which would actually break an ${if} macro.

Tweak _isdir macro to allow no parameters. No parameters means false (e.g.
no directory).

Signed-off-by: Carter Smithhart <carter.smithhart@gmail.com>
Turned missing bundles into error instead of warning.

Signed-off-by: Carter Smithhart <carter.smithhart@gmail.com>
ProjectBuildOrder ant task - allow changing DelayRunDependencies

Potentially useful if you want to obtain an project build order list
using runbundles

Signed-off-by: Carter Smithhart <carter.smithhart@gmail.com>
Added test for project vmargs

Signed-off-by: Carter Smithhart <carter.smithhart@gmail.com>
Making variables potentially shared from workspace.

Added test for macros/variables in some BndEditModel parameters

Signed-off-by: Carter Smithhart <carter.smithhart@gmail.com>
Merge pull request #729 from timothyjward/master

Issue #728 - Permit cardinality:=multiple on Require-Capability, as per the OSGi spec
Merge pull request #740 from derheld42/sharable_variables

Making variables potentially shared from workspace.