From de99841e9f87e5306df502a12f10bebed0b5a80d Mon Sep 17 00:00:00 2001 From: Bradlee Speice Date: Sun, 5 Apr 2015 16:43:26 -0400 Subject: [PATCH] First attempt at a continuous delivery release Add play store information --- .travis.yml | 20 ++++++++----- app/build.gradle | 28 ++++++++++++++++-- app/src/main/play/.gitignore | 1 + app/src/main/play/MinimalBible.jks | Bin 0 -> 2279 bytes .../main/play/en-US/listing/fulldescription | 6 ++++ .../main/play/en-US/listing/shortdescription | 1 + app/src/main/play/en-US/listing/title | 1 + app/src/main/play/play_api.p12.enc | Bin 0 -> 1744 bytes 8 files changed, 48 insertions(+), 9 deletions(-) create mode 100644 app/src/main/play/.gitignore create mode 100644 app/src/main/play/MinimalBible.jks create mode 100644 app/src/main/play/en-US/listing/fulldescription create mode 100644 app/src/main/play/en-US/listing/shortdescription create mode 100644 app/src/main/play/en-US/listing/title create mode 100644 app/src/main/play/play_api.p12.enc diff --git a/.travis.yml b/.travis.yml index 000f532..297a62c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,13 +1,19 @@ language: java env: + matrix: - ANDROID_HOME="./android-sdk-linux" - + global: + - secure: FFXEK5dnQaJ2nSyaggVO66uNfpM6WYdS962qjY4ry9OumoK9OHg25MeQPrWmQurUaDDRfzdjMTs0UicWvJAnka846dDpYVbt0bpWbnNsq8vb05h1XhCsjjnEwcgPzbbyoAecmx7m1noAhkjFVnqmUhnjoYIsNd/pIRplO+r+0PY= + - secure: BezK2LQRlHA4bgfShHH9l8/N0roGcMCxzAXV3CoGw4OWp6npUbIGvj1H4scA2OAMpct7u6fS9T0//FQehe6tbsHniVfsRxrmwsj8SqXQ6E3tQ4lZeFu9q6dy2qgIaktY9q2SIkf+/1DG5b7gd/KJX4luU8LX1RErorco6+MGuoQ= before_install: - - bash android_install.sh - -# TODO: Even using language: java, this fails on the first try, succeeds on second, please fix +- openssl aes-256-cbc -K $encrypted_b017c1e684ac_key -iv $encrypted_b017c1e684ac_iv + -in play_api.p12.enc -out play_api.p12 -d +- bash android_install.sh script: - - ./gradlew test - +- ./gradlew test after_success: - - ./gradlew jacocoTestReport coveralls +- ./gradlew jacocoTestReport coveralls +- if [ $TRAVIS_TAG ]; then + echo "Publishing to Play store..." + ./gradlew publishRelease + fi diff --git a/app/build.gradle b/app/build.gradle index 131d9a6..7de2ab4 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -4,11 +4,13 @@ buildscript { } dependencies { classpath "org.jetbrains.kotlin:kotlin-android-extensions:$kotlin_version" + classpath 'com.github.triplet.gradle:play-publisher:1.0.2' } } apply plugin: 'com.android.application' apply plugin: 'kotlin-android' +apply plugin: 'play' android { compileSdkVersion 21 @@ -17,7 +19,12 @@ android { applicationId 'org.bspeice.minimalbible' minSdkVersion 8 targetSdkVersion 21 - versionCode 8 + + def travis_code = System.getenv("TRAVIS_BUILD_NUMBER") + if (travis_code) + versionCode travis_code.toInteger() + else + versionCode 0 versionName '0.7' } packagingOptions { @@ -32,11 +39,29 @@ android { exclude 'NOTICE' exclude 'asm-license.txt' } + signingConfigs { + release { + storeFile file('src/main/play/MinimalBible.jks') + storePassword System.getenv("KEYSTORE_PASSWORD") + keyAlias 'minimalbible signing key' + keyPassword System.getenv("KEYSTORE_PASSWORD") + } + } + buildTypes { + release { + signingConfig signingConfigs.release + } + } sourceSets { main.java.srcDirs += 'src/main/kotlin' } } +play { + serviceAccountEmail = System.getenv("SERVICE_ACCOUNT_EMAIL") + pk12File = file('src/main/play/play_api.p12') +} + dependencies { compile project(path: ':jsword-minimalbible', configuration: 'buildJSword') @@ -53,7 +78,6 @@ dependencies { compile 'com.android.support:appcompat-v7:21.+' compile 'com.android.support:recyclerview-v7:21.+' compile 'org.apache.commons:commons-lang3:+' - compile 'com.google.code.gson:gson:+' compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" androidTestCompile 'com.jayway.awaitility:awaitility:+' diff --git a/app/src/main/play/.gitignore b/app/src/main/play/.gitignore new file mode 100644 index 0000000..6a7e392 --- /dev/null +++ b/app/src/main/play/.gitignore @@ -0,0 +1 @@ +play_api.p12 diff --git a/app/src/main/play/MinimalBible.jks b/app/src/main/play/MinimalBible.jks new file mode 100644 index 0000000000000000000000000000000000000000..5307c80a2258d9ec898887aac8d712de33874bf9 GIT binary patch literal 2279 zcmc&#`8U*y8=lo5TXq>YWXTAhF~+W}iIB2y$ui6syOA}<*vXbHTV&6cL?mSEqL8gn zW4lHeTcIc|SNHqE0R(q%g15Uc5f^eSFiKVzPX&SCFn|IF0c;G+(hOi27zH^A2E#!x3T*R;Bl6@2 z<>P(j;Lx)n#=GJ|t7TBfRw;S~tp#9_sITIC4I4<4IY zQ;Lbfp=&+*JJgKVNY%}^E>TH$Y8laWjpzA>d^t^pE^77j%q7_LuUMX!54yLFu!Z+x zER#|!;A3}jw3zr1*gG!s`CaKaM^P?)3xC4>D}~@3BJ!lZe21Sj{#$GF-w=dO{YN~nn@{D1N z4^lgK1_U*Yzp8s&u68|VTB-+?zLJ+x)$JU~ZZV>z$Z*r->hP)|&3(@!(E7$|=`4Om z4HI3P@6^LjJsq1eUbAY*Ks?phQevq;9GCHCl+(01>O2-#a@oDmPr60c@l5?PPYQ^il)F=P6nEK$U={EU@-c>~Jnwi_w}tJtsWbMI=|V&=%I#CLhhqgA65g0F8Ie&XwL z)B64rrohuRD~3t}6ef~#&f?t8G1`1=;v7VR1N$lUdyg(g=C4mpgnYUg10SUpp_ zWSw#ro3u{Jr^ow|$w)^Qd*GRToq4|IqKaT|5ziiwATqanuUKgo`Ing(T<1GePi+{9 zC?=vljEG?$Q9c{XIVX_WKb{_APrBG?z3fK|U!O+WaV^h{G`?yqY_63Fz0YwOSZgrk zUTE!{-y|oR-!Y(<(VnM%a@f^~&MQbf7^{ki{SxJ1`eiTQ;i5X*ETy}k`C{-c{_*#9 z{!i_uN=i>kniON+c3Ag}yKf^VpeN@y%iPiHrwtBR;|9jI)1MX2_*IY-{J_qplEL>Z z@J@n*-RaB4f5Nr?z>jmFD1kF@g=>{gldJw86ZFqo?Co(Ow}a4w6HJ%vl)DVEcrP2V zL4i7f1ed>bqaz|`lg&&Rx}F&2H(ydLvd2DGSV}(>mw-{9Nx};XqDQL4orI1iYIA53 zIyr->?Gj5YKJ@v)83XN}*W-uv^yMJS0I>%F*{w<;za%k!X0Kx7*}QjQM~I`|_VPe-pLA7*{;~ia(oa>)HhB=GcCG{n%2}2whO-dkwi&}L z(%h5r(R8@?57u9>DcsJ-6P63&*0q$%=-8S7`@oBazU_Fp zRS}+7A1Y5`DwfTkPP9+JestEX8|`*!%vXv5kkqdqT5%j}Un%B4gcw`=Xb->rh<0z= zpN@L(;MI`Os=+6k`>RUI$qHFFL*~qGE>jGCxiBeXT@j(9Xbx@6nR~IN$;lEL2$G{} z^ak56+``WGeKgK7i-97Rtq@?eFC3iNgv1rw90hj}@(emIu%PS^Hxo*~rYTS&sz+1C=NQ*}x^|NU!F4JAftQi{|2@a77%_{C6 zx7Jc>>%;ZjzMpkvZu=4sT##tMTWi$kjYrFtu%NJN%5?1;m`PTxtU^8irt+pAuAzZ# zAPC*cF>vwuJDnYRV+)7Pr;$$fDfXEfxN6KBI|?;Lu=fcHTAqu}!ZQ`q7y>q+Yw7Sk z$gSlQGRbjGlRUOiI4V*6QpZjKKYSU{(2SE|S%?UYojiAez#%pWc54;- literal 0 HcmV?d00001 diff --git a/app/src/main/play/en-US/listing/fulldescription b/app/src/main/play/en-US/listing/fulldescription new file mode 100644 index 0000000..a95f25e --- /dev/null +++ b/app/src/main/play/en-US/listing/fulldescription @@ -0,0 +1,6 @@ +There are a lot of Bible apps available for Android, but what sets MinimalBible apart is the focus on a simple application design, ease-of-use, and speedy execution leading to more time focusing on what you're using the app for - reading your Bible. +Designed from the ground-up to be sleek and efficient, MinimalBible is focused on making a great experience without worrying about a lot of advanced features. + +MinimalBible uses your internet connection to retrieve Bibles, but you will be prompted before doing so. The app will not connect to the internet without your consent. + +MinimalBible is also an open-source application! If you're interested in helping the development, check it out over here: https://github.com/MinimalBible/MinimalBible diff --git a/app/src/main/play/en-US/listing/shortdescription b/app/src/main/play/en-US/listing/shortdescription new file mode 100644 index 0000000..c79eff9 --- /dev/null +++ b/app/src/main/play/en-US/listing/shortdescription @@ -0,0 +1 @@ +A Bible app focused on simplicity, ease-of-use, and speed. diff --git a/app/src/main/play/en-US/listing/title b/app/src/main/play/en-US/listing/title new file mode 100644 index 0000000..adef579 --- /dev/null +++ b/app/src/main/play/en-US/listing/title @@ -0,0 +1 @@ +MinimalBible diff --git a/app/src/main/play/play_api.p12.enc b/app/src/main/play/play_api.p12.enc new file mode 100644 index 0000000000000000000000000000000000000000..8e2ac102890444ffa1ae7e530f7ad3857666e383 GIT binary patch literal 1744 zcmV;>1~2&s3A>d_iVx9GV6QJHK7y;9?|ji4uB-zEJqX1x#^btckg^ePVJj|a$n&+{ zlQ3~j$XMhIp*i`qMkpc$>3lod;7?1J@(OK$O;etD&<)M_m<9RMF0)h+RZQW@FZxMd zarw0enP^+P#d0^+g(?>fLjub}(z0FsX6ld+u7-TpuLg&q z6O;oX`7kJW^Y_0!FvGJIG`rKZ{@?PCiPk%QGAV7Nv`d#Y)Oc}hZ<2`1?%XtEc}l0e zf?~4}2suM--YpN*T5%`g%{#!2*E z8r-sphvLpn(ovg8Wkv6B{0@DMe(1`>o}DQ9N`0ns06=AZHYLo`t;+^VnU^9^s5%{a zi%-=T|I9|^Hpg1M=hmyt(&pN>c$@lDDrrcxl2soA|LLX=3Z#ePr*yI~IQWwE%|TEc zC&7F$fDMjAmnT;A%uSK1G#Kt_nCsWPg+;U;`+3GrNLGER55vO9S(}C1DA|0!(YxAz zIz-;46}j4Ln53Mb^a>Oh87zAAtM=b>2cT$LVt$m%?1WQ;-z)3-aFKMtkKk`liY0wH~Kcd^Q8^ z<0NK7PuT4ynTVUA{zr48acCSK?9RGH@;+}B%#tEJ) z#(RYYnaBAa`HGz%jB_Q-nkebp*<|~2;TW>{#smcoT%=XrS-eTh@6$;QhXj9?PNJqb(Zg? zREi#1{I}&H_0D&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