[¾Èµå·ÎÀ̵å] ¾Èµå·ÎÀÌµå ½ºÆ©µð¿À¿¡¼ ºôµå ÆÄÀÏ À̸§ ¼öÁ¤Çϱâ. |
|
|
|
8³â Àü |
build.gradle ÆÄÀÏÀ» ¿°í,
ºôµå ŸÀÔ ³ëµå¿¡ applicationVariants.all ÇÔ¼ö¸¦ ±¸ÇöÇÑ´Ù. ¿©±â¿¡¼´Â 'app' À̸§À» '¾ÛÀ̸§-¹öÀü'·Î º¯°æÇÑ´Ù.
android {
defaultConfig {
applicationId "¾ÛÀ̸§ ÆÐÅ°Áö¸í"
minSdkVersion 16
targetSdkVersion 22
versionCode 10000
versionName "1.0.0"
}
buildTypes {
release {
signingConfig signingConfigs.release
minifyEnabled true
proguardFile 'proguard-rules.txt'
applicationVariants.all { variant ->
variant.outputs.each {
output->
def file = output.outputFile
output.outputFile = new File(file.parent,
file.name.replace("app", "¾ÛÀ̸§-" + defaultConfig.versionName))
}
}
}
debug {
signingConfig signingConfigs.debug
minifyEnabled false
proguardFile 'proguard-rules.txt'
}
}
}
|
|
̵̧ : 309 |
̵̧
¸ñ·Ï
|
|