upgrade libwebrtc

This commit is contained in:
Christian Schneppe 2020-07-15 19:06:49 +02:00
parent b66bdad078
commit 78c2e646d9
2 changed files with 4 additions and 4 deletions

View file

@ -8,7 +8,7 @@ jobs:
- restore_cache: - restore_cache:
key: gradle-{{ checksum "build.gradle" }}-{{ checksum ".circleci/config.yml" }} key: gradle-{{ checksum "build.gradle" }}-{{ checksum ".circleci/config.yml" }}
- run: export GRADLE_USER_HOME=$PWD/.gradle - run: export GRADLE_USER_HOME=$PWD/.gradle
- run: wget -O libs/libwebrtc-m83.aar https://www.pix-art.de/files/libwebrtc-m83.aar - run: wget -O libs/libwebrtc-m84.aar https://www.pix-art.de/files/libwebrtc-m84.aar
- run: echo y | sdkmanager "platforms;android-$(sed -n 's,.*compileSdkVersion\s*\([0-9][0-9]*\).*,\1,p' build.gradle)" > /dev/null - run: echo y | sdkmanager "platforms;android-$(sed -n 's,.*compileSdkVersion\s*\([0-9][0-9]*\).*,\1,p' build.gradle)" > /dev/null
- run: ./gradlew lintGitDebug - run: ./gradlew lintGitDebug
- save_cache: - save_cache:
@ -27,7 +27,7 @@ jobs:
- restore_cache: - restore_cache:
key: android key: android
- run: export GRADLE_USER_HOME=$PWD/.gradle - run: export GRADLE_USER_HOME=$PWD/.gradle
- run: wget -O libs/libwebrtc-m83.aar https://www.pix-art.de/files/libwebrtc-m83.aar - run: wget -O libs/libwebrtc-m84.aar https://www.pix-art.de/files/libwebrtc-m84.aar
- run: echo y | sdkmanager "platforms;android-$(sed -n 's,.*compileSdkVersion\s*\([0-9][0-9]*\).*,\1,p' build.gradle)" > /dev/null - run: echo y | sdkmanager "platforms;android-$(sed -n 's,.*compileSdkVersion\s*\([0-9][0-9]*\).*,\1,p' build.gradle)" > /dev/null
# build # build
- run: ./gradlew assembleGit - run: ./gradlew assembleGit
@ -46,7 +46,7 @@ jobs:
- restore_cache: - restore_cache:
key: android key: android
- run: export GRADLE_USER_HOME=$PWD/.gradle - run: export GRADLE_USER_HOME=$PWD/.gradle
- run: wget -O libs/libwebrtc-m83.aar https://www.pix-art.de/files/libwebrtc-m83.aar - run: wget -O libs/libwebrtc-m84.aar https://www.pix-art.de/files/libwebrtc-m84.aar
- run: echo y | sdkmanager "platforms;android-$(sed -n 's,.*compileSdkVersion\s*\([0-9][0-9]*\).*,\1,p' build.gradle)" > /dev/null - run: echo y | sdkmanager "platforms;android-$(sed -n 's,.*compileSdkVersion\s*\([0-9][0-9]*\).*,\1,p' build.gradle)" > /dev/null
# workaround for fdroid nightly circleci bug # workaround for fdroid nightly circleci bug
- run: sed -i "s/os.getenv('CIRCLE_REPOSITORY_URL')/\"https:\/\/github.com\/kriztan\/Pix-Art-Messenger\"/" /usr/lib/python3/dist-packages/fdroidserver/nightly.py - run: sed -i "s/os.getenv('CIRCLE_REPOSITORY_URL')/\"https:\/\/github.com\/kriztan\/Pix-Art-Messenger\"/" /usr/lib/python3/dist-packages/fdroidserver/nightly.py

View file

@ -87,7 +87,7 @@ dependencies {
implementation 'com.squareup.retrofit2:converter-gson:2.6.4' implementation 'com.squareup.retrofit2:converter-gson:2.6.4'
implementation 'com.google.guava:guava:28.2-android' implementation 'com.google.guava:guava:28.2-android'
implementation 'com.github.AppIntro:AppIntro:6.0.0' implementation 'com.github.AppIntro:AppIntro:6.0.0'
implementation fileTree(include: ['libwebrtc-m83.aar'], dir: 'libs') implementation fileTree(include: ['libwebrtc-m84.aar'], dir: 'libs')
} }
ext { ext {