build: fix bad regexs when removing signingConfig from srclibs

I went through the source of all apps in fdroiddata for examples, and found
some that use readLine() for things totally unrelated to signingConfigs.

https://gitlab.com/fdroid/fdroiddata/merge_requests/4775#note_234132902
This commit is contained in:
Hans-Christoph Steiner 2019-10-23 12:23:37 +02:00
parent 6d11da5e13
commit afaa24f2fd
No known key found for this signature in database
GPG key ID: 3E177817BA1B9BFA
7 changed files with 1052 additions and 4 deletions

View file

@ -0,0 +1,41 @@
apply plugin: 'android'
android {
compileSdkVersion 21
buildToolsVersion "21.1.1"
defaultConfig {
minSdkVersion 8
targetSdkVersion 21
versionCode 14
versionName "1.65"
}
signingConfigs{
releaseSign{
storeFile file("/Users/reecestevens/keys/keystore.jks")
//storePassword System.console().readLine("\nKeystore password: ")
storePassword System.getenv("KSTOREPWD")
keyAlias "AppKey"
//keyPassword System.console().readLine("\nKey password: ")
keyPassword System.getenv("KEYPWD")
}
}
buildTypes {
release {
minifyEnabled true;
debuggable false
signingConfig signingConfigs.releaseSign
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
}
repositories {
maven { url "https://jitpack.io" }
}
dependencies {
compile 'com.android.support:appcompat-v7:21.0.2'
compile 'com.github.PhilJay:MPAndroidChart:v2.0.9'
compile fileTree(dir: 'libs', include: ['*.jar'])
}