Skip to content
Permalink
Browse files

Add signing config for legacy-standalone

  • Loading branch information...
ianhanniballake committed Jun 10, 2019
1 parent 97e30b1 commit 513896338a716fff7de7cf011c454d444199e1ad
Showing with 16 additions and 0 deletions.
  1. +16 −0 legacy-standalone/build.gradle
@@ -43,6 +43,21 @@ android {
}
}

signingConfigs {
release {
Properties localProps = new Properties()
localProps.load(new FileInputStream(file('../local.properties')))
Properties keyProps = new Properties()
if (localProps['keystore.props.file'] != null) {
keyProps.load(new FileInputStream(file(localProps['keystore.props.file'])))
}
storeFile keyProps["store"] != null ? file(keyProps["store"]) : null
keyAlias keyProps["alias"] ?: ""
storePassword keyProps["storePass"] ?: ""
keyPassword keyProps["pass"] ?: ""
}
}

buildTypes {
debug {
versionNameSuffix " Debug"
@@ -52,6 +67,7 @@ android {
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android.txt'), file('proguard-project.txt')
signingConfig signingConfigs.release
}
}

0 comments on commit 5138963

Please sign in to comment.
You can’t perform that action at this time.