61 lines
1.7 KiB
Groovy
61 lines
1.7 KiB
Groovy
apply plugin: 'com.android.application'
|
|
|
|
import com.android.build.OutputFile
|
|
|
|
android {
|
|
compileSdkVersion 25
|
|
buildToolsVersion '28.0.3'
|
|
|
|
defaultConfig {
|
|
applicationId "com.github.axet.audiorecorder"
|
|
minSdkVersion 9
|
|
targetSdkVersion 26
|
|
versionCode 289
|
|
versionName "3.2.31"
|
|
}
|
|
signingConfigs {
|
|
release {
|
|
storeFile file(RELEASE_STORE_FILE)
|
|
storePassword RELEASE_STORE_PASSWORD
|
|
keyAlias RELEASE_KEY_ALIAS
|
|
keyPassword RELEASE_KEY_PASSWORD
|
|
}
|
|
}
|
|
buildTypes {
|
|
debug {
|
|
debuggable true
|
|
jniDebuggable true
|
|
minifyEnabled false
|
|
}
|
|
release {
|
|
shrinkResources true
|
|
minifyEnabled true
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
signingConfig signingConfigs.release
|
|
}
|
|
}
|
|
applicationVariants.all { variant ->
|
|
variant.outputs.each { output ->
|
|
def abi = output.getFilter(OutputFile.ABI)
|
|
if (abi == null)
|
|
abi = "universal";
|
|
output.outputFileName = org.apache.commons.io.FilenameUtils.getExtension(android.defaultConfig.applicationId) + "-" + abi + "-" + android.defaultConfig.versionName + "-" + variant.buildType.name + ".apk"
|
|
}
|
|
}
|
|
bundle {
|
|
language {
|
|
enableSplit = false
|
|
}
|
|
density {
|
|
enableSplit = true
|
|
}
|
|
abi {
|
|
enableSplit = true
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
testImplementation 'junit:junit:4.12'
|
|
implementation 'com.github.axet:android-audio-library:1.0.133' // implementation project(':android-audio-library')
|
|
}
|