updated lifecycle to use latest versions of plugins

Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
fixed unexpected testCompile classpath visibility errors

Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>