apply plugin: 'com.android.application' android { compileSdkVersion 28 defaultConfig { applicationId "{package}" minSdkVersion 14 targetSdkVersion 28 versionCode 1 versionName "1.0" } signingConfigs { release { if (project.hasProperty('RELEASE_STORE_FILE')) { storeFile file(RELEASE_STORE_FILE) storePassword RELEASE_STORE_PASSWORD keyAlias RELEASE_KEY_ALIAS keyPassword RELEASE_KEY_PASSWORD } } } buildTypes { release { if (project.hasProperty('RELEASE_STORE_FILE')) { signingConfig signingConfigs.release } minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } sourceSets { main.java.srcDirs += 'src/main/../../../src' } }