1
0
зеркало из https://github.com/MinimalBible/MinimalBible synced 2025-07-11 18:54:46 -04:00

First attempt at a continuous delivery release

Add play store information
Этот коммит содержится в:
Bradlee Speice
2015-04-05 16:43:26 -04:00
родитель a6057df35c
Коммит de99841e9f
8 изменённых файлов: 48 добавлений и 9 удалений

Просмотреть файл

@ -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:
- 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
# TODO: Even using language: java, this fails on the first try, succeeds on second, please fix
script:
- ./gradlew test
after_success:
- ./gradlew jacocoTestReport coveralls
- if [ $TRAVIS_TAG ]; then
echo "Publishing to Play store..."
./gradlew publishRelease
fi

Просмотреть файл

@ -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:+'

1
app/src/main/play/.gitignore поставляемый Обычный файл
Просмотреть файл

@ -0,0 +1 @@
play_api.p12

Двоичные данные
app/src/main/play/MinimalBible.jks Обычный файл

Двоичный файл не отображается.

Просмотреть файл

@ -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

Просмотреть файл

@ -0,0 +1 @@
A Bible app focused on simplicity, ease-of-use, and speed.

1
app/src/main/play/en-US/listing/title Обычный файл
Просмотреть файл

@ -0,0 +1 @@
MinimalBible

Двоичные данные
app/src/main/play/play_api.p12.enc Обычный файл

Двоичный файл не отображается.