Bumped version of gradle plugin and verstion of library to v3.1.2