mirror of
https://github.com/TrianguloY/LightningLauncher.git
synced 2025-01-05 11:01:38 +01:00
49 lines
1.2 KiB
Groovy
49 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.media_content_control"
|
||
|
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')
|
||
|
}
|