1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-12-23 03:11:30 +00:00

Removed signing config from build.gradle.

The signing can be done in Android Studio now.
This commit is contained in:
Felix Ableitner 2014-11-04 13:03:55 +02:00
parent 1202651411
commit ade88b3f95

View file

@ -7,7 +7,6 @@ buildscript {
dependencies {
classpath 'com.android.tools.build:gradle:0.13.3'
classpath 'com.alexvasilkov:android_sign:0.2'
classpath 'com.github.ben-manes:gradle-versions-plugin:0.5'
classpath 'org.codehaus.groovy:groovy-backports-compat23:2.3.5'
}
@ -16,7 +15,6 @@ buildscript {
import java.util.regex.Pattern
apply plugin: 'com.android.application'
apply plugin: 'android_sign'
apply plugin: 'com.github.ben-manes.versions'
repositories {
@ -56,27 +54,11 @@ android {
}
}
signingConfigs {
release {
// Android Studio does not pass environment variables.
// This means you have to use the command line for release builds.
def ks = System.getenv("KEYSTORE")
def ka = System.getenv("KEY_ALIAS")
if (ks != null && ka != null) {
storeFile file(ks)
keyAlias ka
}
}
}
buildTypes {
debug {
applicationIdSuffix ".debug"
debuggable true
}
release {
signingConfig signingConfigs.release
}
}
productFlavors {