apply plugin: 'com.android.application' if(project.hasProperty("signing.properties") && new File(project.property("signing.properties")).exists()) { Properties props = new Properties() props.load(new FileInputStream(file(project.property("signing.properties")))) android { signingConfigs { release { storeFile file(props['sp.storeFile']) keyAlias props['sp.keyAlias'] storePassword props['sp.storePassword'] keyPassword props['sp.keyPassword'] } } buildTypes { release { signingConfig signingConfigs.release } } } } android { compileSdkVersion 21 buildToolsVersion "21.1.2" defaultConfig { applicationId "net.pierrox.lightning_launcher.permission.read_calendar" minSdkVersion 9 targetSdkVersion 21 versionCode 1 versionName "1.0" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } } dependencies { compile fileTree(include: ['*.jar'], dir: 'libs') }