From 9048b96612a8a200736e3b117bb66ce657b65940 Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Tue, 5 Jun 2018 23:10:35 +0200 Subject: [PATCH] Update configs --- OsmAnd-telegram/build.gradle | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/OsmAnd-telegram/build.gradle b/OsmAnd-telegram/build.gradle index 6f6539d48b..7070e73d84 100644 --- a/OsmAnd-telegram/build.gradle +++ b/OsmAnd-telegram/build.gradle @@ -56,13 +56,26 @@ android { buildTypes { debug { - signingConfig android.signingConfigs.debug - } - nativeDebug { - signingConfig android.signingConfigs.debug + signingConfig signingConfigs.development } release { - signingConfig android.signingConfigs.debug + signingConfig signingConfigs.publishing + } + } + + signingConfigs { + development { + storeFile file("../keystores/debug.keystore") + storePassword "android" + keyAlias "androiddebugkey" + keyPassword "android" + } + + publishing { + storeFile file("/var/lib/jenkins/osmand_key") + storePassword System.getenv("OSMAND_APK_PASSWORD") + keyAlias "osmand" + keyPassword System.getenv("OSMAND_APK_PASSWORD") } }