Adding Reference Class and build.gradle