Share distribution plugin with application plugin
All distribution archives are built when project is assembled.
Few adjustement after rebase.
Adding tests removed by mistake.
Fixing some modifiers.
Use convention to configure basename of distributions.
Adding some coverage on ApplicationIntegrationTest/Spec.
wq
Fix GRADLE-2687 Allow to completely suppress stdout and stderr in Tooling API
Add relevant types for creating text resources to dsl doc
Polish javadoc
Cleaning up conditional logic for version matching/selection

+review REVIEW-5224
A couple of integration test fixes.
Don't run this test on windows for now.
Remove JDK 8 usage.

+review REVIEW-5226
Merge branch 'release'
Improved the CompositeDomainObjectSet

1. Avoided extending DefaultDomainObjectSet to prevent awkward implementation of beforeChange hook.
2. Improved the DelegatingDomainObjectSet so that it is easier to extend it.

+review REVIEW-5199
Removed fluent API from internal classes

For consistency, per Daz' suggestions.

+review REVIEW-5199
Cleanup of metadata fetching so that we're sure to only fetch once during version matching/selection

+review REVIEW-5227
move RELEASE & INTEGRATION version mapping close to pom parsing

- don't let this version syntax leak into gradle

+review REVIEW-5225
Add integration test for resolving transitive dependencies declared with RELEASE or LATEST

this exposes an issue (related to https://issues.gradle.org/browse/GRADLE-3097)
+review REVIEW-5225
Fixed resources.text() problem

All instances where I've applied the fix call for coverage. Bugs like to cluster so let's get this covered. I needed to fix this otherwise I cannot use master Gradle with my builds. Not sure whether this problem also exists in the release branch.