Upgraded gradle wrapper to 1.12.
Added support for trustSelfSignedCerts parameter.