mirror of
https://github.com/TrianguloY/LightningLauncher.git
synced 2024-12-30 10:23:32 +01:00
48 lines
1.2 KiB
Groovy
48 lines
1.2 KiB
Groovy
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 23
|
|
buildToolsVersion "23.0.2"
|
|
|
|
defaultConfig {
|
|
applicationId "net.pierrox.lightning_launcher.permission.read_call_log"
|
|
minSdkVersion 9
|
|
targetSdkVersion 23
|
|
versionCode 1
|
|
versionName "1.0"
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compile fileTree(include: ['*.jar'], dir: 'libs')
|
|
}
|