aboutsummaryrefslogtreecommitdiff
path: root/sample/build.gradle
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-07-23 23:26:34 -0700
committerGitHub <noreply@github.com>2017-07-23 23:26:34 -0700
commit50ad7f0ae89fc52ce57fe03328f4221fb57f2eac (patch)
tree69ead8807bb7371428953a0363519343f03f9b5b /sample/build.gradle
parent4706b8f6a8d08a6961da6ab34d15881b63356d79 (diff)
downloadkau-50ad7f0ae89fc52ce57fe03328f4221fb57f2eac.tar.gz
kau-50ad7f0ae89fc52ce57fe03328f4221fb57f2eac.tar.bz2
kau-50ad7f0ae89fc52ce57fe03328f4221fb57f2eac.zip
Fully implement imagepicker and create play store showcase (#12)3.1.1
* Update changelog * Add uri to imagemodel * Revamp image pickers * Prepare play store showcase * Add encrypted files * Test showcase * Clean elastic recycler activity
Diffstat (limited to 'sample/build.gradle')
-rw-r--r--sample/build.gradle24
1 files changed, 24 insertions, 0 deletions
diff --git a/sample/build.gradle b/sample/build.gradle
index b318174..f1a0f10 100644
--- a/sample/build.gradle
+++ b/sample/build.gradle
@@ -3,6 +3,7 @@ plugins {
}
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
+apply plugin: 'com.github.triplet.play'
repositories {
jcenter()
@@ -11,6 +12,14 @@ repositories {
maven { url "https://maven.google.com" }
}
+play {
+ jsonFile = file('../files/gplay-keys.json')
+ track = 'beta'
+ errorOnSizeLimit = true
+ uploadImages = false
+ untrackOld = true
+}
+
android {
compileSdkVersion Integer.parseInt(project.TARGET_SDK)
buildToolsVersion project.BUILD_TOOLS
@@ -28,9 +37,24 @@ android {
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
+ signingConfigs {
+
+ def releaseProps = new Properties()
+ file("../files/kau.properties").withInputStream { releaseProps.load(it) }
+
+ release {
+ storeFile file("../files/kau.keystore")
+ storePassword releaseProps.getProperty('storePassword')
+ keyAlias releaseProps.getProperty('keyAlias')
+ keyPassword releaseProps.getProperty('keyPassword')
+ }
+
+ }
+
buildTypes {
release {
minifyEnabled true
+ signingConfig signingConfigs.release
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}