File tree Expand file tree Collapse file tree 2 files changed +20
-0
lines changed
Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change 66# Local configuration file (sdk path, etc)
77local.properties
88
9+ # Release Keystore
10+ RunnectKeystore.jks
11+
912# google client id
1013credentials.json
1114
Original file line number Diff line number Diff line change @@ -44,6 +44,22 @@ android {
4444 buildConfigField " String" , " KAKAO_CHANNEL_ID" , properties[" KAKAO_CHANNEL_ID" ]
4545 }
4646
47+ signingConfigs {
48+ release {
49+ // local.properties에서 키 정보 불러오기
50+ def localProperties = new Properties ()
51+ def localPropertiesFile = rootProject. file(' local.properties' )
52+ if (localPropertiesFile. exists()) {
53+ localProperties. load(new FileInputStream (localPropertiesFile))
54+ }
55+
56+ keyAlias localProperties[' KEY_ALIAS' ]
57+ keyPassword localProperties[' KEY_PASSWORD' ]
58+ storeFile file(' app/RunnectKeystore.jks' )
59+ storePassword localProperties[' KEYSTORE_PASSWORD' ]
60+ }
61+ }
62+
4763 buildFeatures {
4864 buildConfig = true
4965 }
@@ -52,6 +68,7 @@ android {
5268 release {
5369 minifyEnabled false
5470 proguardFiles getDefaultProguardFile(' proguard-android-optimize.txt' ), ' proguard-rules.pro'
71+ signingConfig signingConfigs. release
5572 }
5673 }
5774
You can’t perform that action at this time.
0 commit comments