Skip to content
This repository has been archived by the owner on Apr 26, 2020. It is now read-only.

Commit

Permalink
Merge pull request #384 from DreierF/maintenance/google_sign_in_client
Browse files Browse the repository at this point in the history
Maintenance google sign in client
  • Loading branch information
DreierF authored Jul 28, 2019
2 parents 8cf4bb9 + 7635874 commit 7d2b983
Show file tree
Hide file tree
Showing 499 changed files with 24,623 additions and 24,413 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,4 @@ googlePlayAndroidDeveloper.json
google-services.json
firebase-crashreporting.json
services.tar
.idea/assetWizardSettings.xml
35 changes: 0 additions & 35 deletions .idea/codeStyles/Project.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 0 additions & 7 deletions .idea/inspectionProfiles/profiles_settings.xml

This file was deleted.

4 changes: 2 additions & 2 deletions .idea/kotlinc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

98 changes: 54 additions & 44 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,52 +1,62 @@
language: android
dist: trusty
jdk:
- oraclejdk8
- openjdk8
env:
global:
# - ADB_INSTALL_TIMEOUT=8
- ANDROID_API_LEVEL=27
- ANDROID_BUILD_TOOLS_VERSION=27.0.2
# - ANDROID_ABI=armeabi-v7a
# - EMULATOR_API_LEVEL=21
- PWD=`pwd`
# - ADB_INSTALL_TIMEOUT=8
- ANDROID_API_LEVEL=28
- ANDROID_BUILD_TOOLS_VERSION=28.0.3
# - ANDROID_ABI=armeabi-v7a
# - EMULATOR_API_LEVEL=21
- PWD=`pwd`
android:
components:
- tools
- platform-tools
- tools
- build-tools-$ANDROID_BUILD_TOOLS_VERSION
- android-$ANDROID_API_LEVEL
# - android-$EMULATOR_API_LEVEL
- extra-google-google_play_services
- extra-google-m2repository
- extra-android-m2repository
- tools
- platform-tools
- tools
- build-tools-$ANDROID_BUILD_TOOLS_VERSION
- android-$ANDROID_API_LEVEL
# - android-$EMULATOR_API_LEVEL
- extra-google-google_play_services
- extra-google-m2repository
- extra-android-m2repository
# - sys-img-armeabi-v7a-android-$EMULATOR_API_LEVEL
# licenses:
# - 'android-sdk-preview-license-52d11cd2'
# - 'android-sdk-license-.+'
# - 'google-gdk-license-.+'
before_install:
- openssl aes-256-cbc -K $encrypted_143bf53fc355_key -iv $encrypted_143bf53fc355_iv -in services.tar.enc -out services.tar -d
- tar xvf services.tar
- wget https://raw.githubusercontent.com/JakeWharton/pidcat/master/pidcat.py
- touch ~/.android/repositories.cfg
- yes | sdkmanager "platforms;android-27"
- mkdir -p "$ANDROID_HOME/licenses"
- echo -e "\n8933bad161af4178b1185d1a37fbf41ea5269c55" > "$ANDROID_HOME/licenses/android-sdk-license"
- echo -e "\nd56f5187479451eabf01fb78af6dfcb131a6481e" > "$ANDROID_HOME/licenses/android-sdk-license"
- echo -e "\n84831b9409646a918e30573bab4c9c91346d8abd" > "$ANDROID_HOME/licenses/android-sdk-preview-license"
- openssl aes-256-cbc -K $encrypted_143bf53fc355_key -iv $encrypted_143bf53fc355_iv -in services.tar.enc -out services.tar -d
- tar xvf services.tar
- wget https://raw.githubusercontent.com/JakeWharton/pidcat/master/pidcat.py
- touch ~/.android/repositories.cfg
- yes | sdkmanager "platforms;android-28"
- yes | sdkmanager "build-tools;28.0.3"
- mkdir -p "$ANDROID_HOME/licenses"
- echo -e "\nd56f5187479451eabf01fb78af6dfcb131a6481e" > "$ANDROID_HOME/licenses/android-sdk-license"
- echo -e "\n24333f8a63b6825ea9c5514f83c2829b004d1fee" > "$ANDROID_HOME/licenses/android-sdk-license"
- echo -e "\n24333f8a63b6825ea9c5514f83c2829b004d1fee%" > "$ANDROID_HOME/licenses/android-sdk-license"
- echo -e "\n8933bad161af4178b1185d1a37fbf41ea5269c55" > "$ANDROID_HOME/licenses/android-sdk-license"
- echo -e "\n84831b9409646a918e30573bab4c9c91346d8abd" > "$ANDROID_HOME/licenses/android-sdk-preview-license"
- yes | sdkmanager --update
- yes | sdkmanager --licenses
install:
# Converts the shallow clone to a full clone
# This is necessary in order to determine the current app version code
- git fetch --unshallow --tags
# Converts the shallow clone to a full clone
# This is necessary in order to determine the current app version code
- git fetch --unshallow --tags
before_script:
# - echo no | android create avd -f -n test -t "android-"$EMULATOR_API_LEVEL --abi $ANDROID_ABI -s WVGA800 -c 128M
# - emulator -avd test -no-audio -no-window &
- ./gradlew clean
# - echo no | android create avd -f -n test -t "android-"$EMULATOR_API_LEVEL --abi $ANDROID_ABI -s WVGA800 -c 128M
# - emulator -avd test -no-audio -no-window &
- ./gradlew clean
script:
- echo -e '\033[0;33mBuilding...\033[0m' && echo -en 'travis_fold:start:script.build\\r'
- ./gradlew assembleRegularRelease -PdisablePreDex
- echo -en 'travis_fold:end:script.build\\r'
- echo -e '\033[0;33mBuilding...\033[0m' && echo -en 'travis_fold:start:script.build\\r'
- ./gradlew assembleRegularRelease -PdisablePreDex
- echo -en 'travis_fold:end:script.build\\r'

- echo -e '\033[0;33mUnit tests...\033[0m' && echo -en 'travis_fold:start:script.unittest\\r'
- ./gradlew testRelease -PdisablePreDex
- echo -en 'travis_fold:end:script.unittest\\r'
- echo -e '\033[0;33mUnit tests...\033[0m' && echo -en 'travis_fold:start:script.unittest\\r'
- ./gradlew testRelease -PdisablePreDex
- echo -en 'travis_fold:end:script.unittest\\r'

# - echo -e '\033[0;33mUI tests...\033[0m' && echo -en 'travis_fold:start:script.uitest\\r'
# - ./gradlew :app:assembleDevDebug :app:assembleDevDebugAndroidTest -PdisablePreDex
Expand All @@ -60,13 +70,13 @@ script:
# - echo -en 'travis_fold:end:script.uitest\\r'

after_success:
- |
if [[ "$TRAVIS_TAG" ]]; then
./gradlew bootstrapRegularReleasePlayResources publishRegularRelease
./gradlew -PFirebaseServiceAccountFilePath=$PWD/firebase-crashreporting.json :app:firebaseUploadRegularReleaseProguardMapping
./dropbox_uploader.sh upload app/build/outputs/apk/regular/release/app-regular-release.apk /Release/$TRAVIS_TAG/MyTargets.apk
./dropbox_uploader.sh upload app/build/outputs/mapping/regular/release/mapping.txt /Release/$TRAVIS_TAG/mapping.txt
fi
- |
if [[ "$TRAVIS_TAG" ]]; then
./gradlew bootstrapRegularReleasePlayResources publishRegularRelease
./gradlew -PFirebaseServiceAccountFilePath=$PWD/firebase-crashreporting.json :app:firebaseUploadRegularReleaseProguardMapping
./dropbox_uploader.sh upload app/build/outputs/apk/regular/release/app-regular-release.apk /Release/$TRAVIS_TAG/MyTargets.apk
./dropbox_uploader.sh upload app/build/outputs/mapping/regular/release/mapping.txt /Release/$TRAVIS_TAG/mapping.txt
fi
# - bash <(curl -s https://codecov.io/bash)
# - ./gradlew sendCoverageToCodacy -PdisablePreDex
after_failure:
Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,10 @@ If you don't have a concrete idea, there a few issues in the backlog with some r

If you want to help improve the translations of the app you can do so at https://crowdin.com/project/mytargets

## Community
Since Google+ has closed it's doors, I created a new Slack channel for discussions etc.
Here's an invite link. If it's no longer valid give me a ping and I'll update it.
https://join.slack.com/t/mytargets/shared_invite/enQtNjIwMjA5OTIxMTA4LWU2ZGIzMDE3ZjUyZDU4YzZkODcxNjYwZDQ2NTkwZTE0OWI0YzZiZGU2M2U0MzBkOTc4ZjQyZmE1NzQ5MTdlODE

## Licence ##
Released under GNU GPL V2
Loading

0 comments on commit 7d2b983

Please sign in to comment.