apply plugin: 'com.android.application' android { compileSdkVersion 26 defaultConfig { applicationId "com.google.android.mobly.snippet.example1" minSdkVersion 15 targetSdkVersion 26 versionCode 1 versionName "0.0.1" } lintOptions { abortOnError false checkAllWarnings true warningsAsErrors true disable 'HardwareIds','MissingApplicationIcon','GoogleAppIndexingWarning','InvalidPackage','OldTargetApi' } } dependencies { // The 'implementation project' dep is to compile against the snippet lib source in // this repo. For your own snippets, you'll want to use the regular // 'implementation' dep instead: //implementation 'com.google.android.mobly:mobly-snippet-lib:1.3.0' implementation project(':mobly-snippet-lib') }