ManagerDn and ManagerPassword are now optional parameters.
Gradle build script is now compatible with gradle 1.2+ (even 2+).