안드로이드 스튜디오 빌드 APK파일명 자동 변경
//안드로이드 스튜디오 빌드 APK파일명 자동 변경android { buildTypes { release { applicationVariants.all { variant -> variant.outputs.each { output -> def file = output.outputFile output.outputFile = new File( file.parent, file.name.replace("-release.apk", "_${variant.buildType.name}_v" + defaultConfig.versionName + ".apk")) } } //또는 /*applicationVariants.all { variant -> def file = variant.outputFile def newName =..
2015.12.21