Updates version code to 2.1.2, moves to Gradle file