Externalize samples testing infrastructureThis change replaces UserGuideSamplesRunner with an external librarycalled sample-check. Sample discovery, execution, and normalizationis delegated to this library, with some custom normalizers remainingin the Gradle codebase.Samples output has become co-located with the sample code. Samples testsmust be run with Java 8+.
Put deferred configurable change behind a feature flagSimply removing deferred configurable can silently break builds.Instead we now add a feature flag and nag users to opt into thenew behavior. The flag will be the new default in Gradle 5.0.
Document how to publish distributions using Maven/Ivy Publish PluginsPrior to this commit the User Guide chapter on the Distribution Plugin included a section on how to publish a distribution archive using the uploadArchives task. Now, the way more flexible publishing of distribution archives using the Ivy/Maven Publish Plugins is documented as well.Resolves #5244.