mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-17 20:20:12 +01:00
afaa24f2fd
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
42 lines
1.1 KiB
Groovy
42 lines
1.1 KiB
Groovy
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'])
|
|
}
|