upgraded groovy version.
added additional adapter options.