mirror of
https://codeberg.org/shroff/phylum.git
synced 2026-01-06 03:31:02 -06:00
[client] Add release signing key
This commit is contained in:
@@ -5,6 +5,13 @@ plugins {
|
||||
id "dev.flutter.flutter-gradle-plugin"
|
||||
}
|
||||
|
||||
|
||||
def releaseProperties = new Properties()
|
||||
def releasePropertiesFile = rootProject.file('keystore-release.properties')
|
||||
if (releasePropertiesFile.exists()) {
|
||||
releaseProperties.load(new FileInputStream(releasePropertiesFile))
|
||||
}
|
||||
|
||||
android {
|
||||
namespace = "cloud.phylum.drive"
|
||||
compileSdk = flutter.compileSdkVersion
|
||||
@@ -26,16 +33,24 @@ android {
|
||||
versionCode = flutter.versionCode
|
||||
versionName = flutter.versionName
|
||||
|
||||
|
||||
ndk {
|
||||
abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86_64'
|
||||
}
|
||||
}
|
||||
|
||||
signingConfigs {
|
||||
release {
|
||||
keyAlias releaseProperties['keyAlias']
|
||||
keyPassword releaseProperties['keyPassword']
|
||||
storeFile rootProject.file(releaseProperties['storeFile'])
|
||||
storePassword releaseProperties['storePassword']
|
||||
}
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
release {
|
||||
// TODO: Add your own signing config for the release build.
|
||||
// Signing with the debug keys for now, so `flutter run --release` works.
|
||||
signingConfig = signingConfigs.debug
|
||||
signingConfig = signingConfigs.release
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user