48 lines
1.7 KiB
Groovy
48 lines
1.7 KiB
Groovy
apply plugin: 'com.android.application'
|
|
|
|
android {
|
|
compileSdkVersion 23
|
|
buildToolsVersion "23.0.3"
|
|
|
|
defaultConfig {
|
|
applicationId "com.github.axet.audiorecorder"
|
|
minSdkVersion 16
|
|
targetSdkVersion 23
|
|
versionCode 73
|
|
versionName "1.1.51"
|
|
}
|
|
signingConfigs {
|
|
release {
|
|
storeFile file(RELEASE_STORE_FILE)
|
|
storePassword RELEASE_STORE_PASSWORD
|
|
keyAlias RELEASE_KEY_ALIAS
|
|
keyPassword RELEASE_KEY_PASSWORD
|
|
}
|
|
}
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
signingConfig signingConfigs.release
|
|
}
|
|
}
|
|
applicationVariants.all { variant ->
|
|
variant.outputs.each { output ->
|
|
def file = output.packageApplication.outputFile
|
|
def fileName = org.apache.commons.io.FilenameUtils.getExtension(android.defaultConfig.applicationId) + "-" + android.defaultConfig.versionName + "-" + variant.buildType.name + ".apk"
|
|
output.packageApplication.outputFile = new File(file.parent, fileName)
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compile fileTree(dir: 'libs', include: ['*.jar'])
|
|
testCompile 'junit:junit:4.12'
|
|
compile 'com.android.support:appcompat-v7:23.2.1'
|
|
compile 'com.android.support:support-v4:23.2.1'
|
|
compile 'com.android.support:preference-v14:23.2.1'
|
|
compile 'com.android.support:design:23.2.1'
|
|
compile 'com.google.android.gms:play-services-appindexing:8.1.0'
|
|
compile 'org.apache.commons:commons-math3:3.6.1'
|
|
compile 'com.github.axet:android-library:1.5.0' // project(':android-library')
|
|
}
|