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") } }