mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-11-23 04:41:16 +00:00
Removed signing config from build.gradle.
The signing can be done in Android Studio now.
This commit is contained in:
parent
1202651411
commit
ade88b3f95
1 changed files with 0 additions and 18 deletions
18
build.gradle
18
build.gradle
|
@ -7,7 +7,6 @@ buildscript {
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath 'com.android.tools.build:gradle:0.13.3'
|
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 'com.github.ben-manes:gradle-versions-plugin:0.5'
|
||||||
classpath 'org.codehaus.groovy:groovy-backports-compat23:2.3.5'
|
classpath 'org.codehaus.groovy:groovy-backports-compat23:2.3.5'
|
||||||
}
|
}
|
||||||
|
@ -16,7 +15,6 @@ buildscript {
|
||||||
import java.util.regex.Pattern
|
import java.util.regex.Pattern
|
||||||
|
|
||||||
apply plugin: 'com.android.application'
|
apply plugin: 'com.android.application'
|
||||||
apply plugin: 'android_sign'
|
|
||||||
apply plugin: 'com.github.ben-manes.versions'
|
apply plugin: 'com.github.ben-manes.versions'
|
||||||
|
|
||||||
repositories {
|
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 {
|
buildTypes {
|
||||||
debug {
|
debug {
|
||||||
applicationIdSuffix ".debug"
|
applicationIdSuffix ".debug"
|
||||||
debuggable true
|
debuggable true
|
||||||
}
|
}
|
||||||
release {
|
|
||||||
signingConfig signingConfigs.release
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
productFlavors {
|
productFlavors {
|
||||||
|
|
Loading…
Reference in a new issue