File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,6 +17,21 @@ android {
1717 }
1818 }
1919
20+ signingConfigs {
21+ create(" release" ) {
22+ keyAlias = properties[" release.key.alias" ] as ? String
23+ ? : System .getenv(" RELEASE_KEY_ALIAS" )
24+ ? : throw GradleException (" RELEASE_KEY_ALIAS 값이 없습니다." )
25+ keyPassword = properties[" release.key.password" ] as ? String
26+ ? : System .getenv(" RELEASE_KEY_PASSWORD" )
27+ ? : throw GradleException (" RELEASE_KEY_PASSWORD 값이 없습니다." )
28+ storePassword = properties[" release.keystore.password" ] as ? String
29+ ? : System .getenv(" RELEASE_KEYSTORE_PASSWORD" )
30+ ? : throw GradleException (" RELEASE_KEYSTORE_PASSWORD 값이 없습니다." )
31+ storeFile = File (" ${properties[" release.keystore.path" ]} " )
32+ }
33+ }
34+
2035 defaultConfig {
2136 applicationId = " com.threegap.bitnagil"
2237
@@ -39,6 +54,7 @@ android {
3954 ? : System .getenv(" BITNAGIL_DEV_URL" )
4055 ? : throw GradleException (" bitnagil.dev.url 값이 없습니다." )
4156 buildConfigField(" String" , " BASE_URL" , " \" $devUrl \" " )
57+ applicationIdSuffix = " .debug"
4258 }
4359
4460 release {
@@ -51,6 +67,7 @@ android {
5167 getDefaultProguardFile(" proguard-android-optimize.txt" ),
5268 " proguard-rules.pro" ,
5369 )
70+ signingConfig = signingConfigs.getByName(" release" )
5471 }
5572 }
5673
You can’t perform that action at this time.
0 commit comments