Skip to content

Commit

Permalink
정식 릴리즈를 위해 환경 설정을 바꾸고 버전 1.0.0 빌드 12 태깅합니다
Browse files Browse the repository at this point in the history
  • Loading branch information
dali committed Mar 27, 2018
1 parent 8aae459 commit f6e8804
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 deletions.
22 changes: 13 additions & 9 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,29 +8,33 @@ android {
applicationId "xyz.parti.catan"
minSdkVersion 14
targetSdkVersion 26
versionCode 11
versionCode 12
versionName "1.0.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}

Properties properties = new Properties()
properties.load(project.rootProject.file('local.properties').newDataInputStream())

signingConfigs {
release {
def store_password = properties.getProperty('signing.config.store.password')
def key_alias = properties.getProperty('signing.config.key.alias')
def key_password = properties.getProperty('signing.config.key.password')

storeFile file("parti.keystore")
storePassword "8b7i9hIv07728698"
keyAlias "parti"
keyPassword "5E1b2PNn72862013"
storePassword store_password
keyAlias key_alias
keyPassword key_password
}
}

Properties properties = new Properties()
properties.load(project.rootProject.file('local.properties').newDataInputStream())
def debug_api_base_url = properties.getProperty('debug.api.base.url')
def debug_api_base_url_regx = properties.getProperty('debug.api.base.url.regx')

buildTypes {
def var_api_base_url = "API_BASE_URL"
def var_is_debug = "IS_DEBUG"
def var_api_base_url_regx = "API_BASE_URL_REGX"
def debug_api_base_url = properties.getProperty('debug.api.base.url')
def debug_api_base_url_regx = properties.getProperty('debug.api.base.url.regx')

debug {
buildConfigField "boolean", var_is_debug, "true"
Expand Down
3 changes: 0 additions & 3 deletions proguard-rules.pro

This file was deleted.

0 comments on commit f6e8804

Please sign in to comment.