aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-07-02 22:55:52 -0400
committerAllan Wang <me@allanwang.ca>2017-07-02 22:55:52 -0400
commite96651d20e8acfdb773ba209ebe76ec53083700e (patch)
treece11bb8405be91287be2bf17d5984bb57f38f6a4 /app
parenta87d457e5ad2097ef03bf9763247b3f4cfe37dcb (diff)
downloadfrost-e96651d20e8acfdb773ba209ebe76ec53083700e.tar.gz
frost-e96651d20e8acfdb773ba209ebe76ec53083700e.tar.bz2
frost-e96651d20e8acfdb773ba209ebe76ec53083700e.zip
Update tar
Diffstat (limited to 'app')
-rw-r--r--app/build.gradle16
1 files changed, 10 insertions, 6 deletions
diff --git a/app/build.gradle b/app/build.gradle
index 10d0239e..921517e2 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -8,12 +8,21 @@ apply plugin: 'kotlin-kapt'
apply plugin: 'io.fabric'
apply plugin: 'com.github.triplet.play'
+play {
+ jsonFile = file('../files/gplay-keys.json')
+ track = 'beta'
+ uploadImages = false
+ untrackOld = true
+}
+
android {
compileSdkVersion Integer.parseInt(project.TARGET_SDK)
buildToolsVersion project.BUILD_TOOLS
+ def offset = System.getenv("TRAVIS_BUILD_NUMBER") ?: 0
+
androidGitVersion {
- baseCode System.getEnv('TRAVIS_BUILD_NUMBER') ?: 0
+ baseCode offset
codeFormat = 'MMNNPPXX'
prefix 'v'
}
@@ -31,7 +40,6 @@ android {
versionCode androidGitVersion.code()
versionName androidGitVersion.name()
multiDexEnabled true
- playAccountConfig = playAccountConfigs.defaultAccountConfig
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
@@ -155,8 +163,4 @@ dependencies {
transitive = true;
}
-}
-
-play {
- track = 'alpha'
} \ No newline at end of file